摘要:
有个input按钮,id为sendPhoneVerfify。编写其点击事件:$('#sendPhoneVerfify').click(function(){ var seconds = 60; var $this = $(this); $this.val(seconds + '秒后可重新发送'); var t; t = setInterval(function(){ seconds--; if (seconds <= 0) { clearInterval(t); $this.removeAttr('disabled'); $this.val 阅读全文