<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>系统正在处理,请稍候...</title>
</head>
<body>
<div class="loading_box">
<img src="/img/L_img/waiting/waiting.gif" border="0" />
<p>系统正在处理,请稍候...</p>
<p>The page will refresh in <span id='remain_second'>3</span> second(s)</p>
</div>
<SCRIPT LANGUAGE="JavaScript">
var total = 3;
setInterval ( "countdown()", 1000 );
function countdown ( )
{
total = total -1;
if(total<=0) {
total = 0;
}
//$("#remain_second").text(total);
document.getElementById("remain_second").innerHTML=total;
}
</SCRIPT>
</body>
</html>
javascript显示倒计时
最新推荐文章于 2025-08-13 21:05:35 发布