摘要: 有个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 阅读全文
posted @ 2013-05-02 14:59 幻星宇 阅读(332) 评论(0) 推荐(0) 编辑