<p
id="p" class="hidden text-left">数据更新完毕
,<span
id="CountDown"style
="color:red">5</span
>秒后将自动为您关闭窗口
......</p
>
function showTime() {
var t
= document
.getElementById('CountDown').innerText
;
t
--;
document
.getElementById('CountDown').innerText
= t
;
if (t
== 0) {
}
}
var inert
= setInterval("showTime()",1000);
交流QQ:284334906
转载请注明原文地址:https://ipadbbs.8miu.com/read-31104.html