$('#SendEmailCode').click(function () { var theTIme = 30; $("#SendEmailCode").css("pointer-events","none");//-------关键点使用css修改让渲染过的按钮失去事件-----// var theNum = setInterval(function () { if (theTIme <= 0) { clearInterval(Number); $('#SendEmailCode').linkbutton({ text: '发送验证码' }); $("#SendEmailCode").css("pointer-events","auto");//-----关键点使用css修改让按钮恢复事件-------// } else { theTIme -= 1; $('#SendEmailCode').linkbutton({ text: '发送验证码(' + theTIme + '秒)' }) } }, 1000) });