标签:none countdown one lock timer splay tin inter div
var timer = setInterval(function () { if (countdown <= 0) { clearInterval(timer); $("#yzmdm").css(‘display‘,‘none‘); $("#validationCode").css(‘display‘,‘block‘); countdown = 60; } $("#yzmdm").html(‘重新发送(‘+(countdown-1)+‘s)‘); countdown--; }, 1000);
标签:none countdown one lock timer splay tin inter div
原文地址:https://www.cnblogs.com/Esther-yan/p/13476725.html