Commit 9beab052 by 冷斌

踢人

parent 0f64d57c
...@@ -68,13 +68,13 @@ $(function(){ ...@@ -68,13 +68,13 @@ $(function(){
var e = 60; var e = 60;
interval_reg = window.setInterval(function() { interval_reg = window.setInterval(function() {
if (e > 0) { if (e > 0) {
var i = e--+"s 重新获取"; var i = e--+"s";
js_getCode.addClass("login_counting"); js_getCode.addClass("login_counting");
js_getCode.val(i); js_getCode.val(i);
} else{ } else{
window.clearInterval(interval_reg); window.clearInterval(interval_reg);
interval_reg = null; interval_reg = null;
js_getCode.val('获取验证码'); js_getCode.val('重新获取');
js_getCode.removeClass("login_counting"); js_getCode.removeClass("login_counting");
} }
}, 1e3) }, 1e3)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment