验证码不能通过js来更新。
$(".m_forget a").click(function(){
$(".m_account img").attr("src","${ctx}/verifyCode.do");
});
点击,没有反应,不能更新。
解决办法:在src后加一个随机的参数
$(".m_forget a").click(function(){
$(".m_account img").attr("src","${ctx}/verifyCode.do?r="+new Date().getTime());
});
1万+



被折叠的 条评论
为什么被折叠?



