/**倒计时计时器**/

function CountDown(obj){
if(wait==0){
obj.removeAttribute(“disabled”);
obj.value=”重新发送邮件”;
wait = 60;
}else{
obj.setAttribute(“disabled”,true);
obj.value=wait+”秒后重新发送”;
wait–;
setTimeout(function(){CountDown(obj);},1000);
}
}

你可能感兴趣的:(/**倒计时计时器**/)