<html>
<head><title>定时返回指定页面!</title>
<meta http-equiv=”refresh” content=”5;url=aaa.asp”>
<SCRIPT LANGUAGE=”JavaScript”>
<!–
var time=”5″;
function count(){
setTimeout(“count()”,1000);
rest.innerHTML=time;
time–;
}
//–>
</SCRIPT>
</head>
<body onLoad=”window.setTimeout(‘count()’,1)”>
系统将在<span id=”rest” style=”color:#FF0000″></span>秒后自动返回!
</body>
</html>
<head><title>定时返回指定页面!</title>
<meta http-equiv=”refresh” content=”5;url=aaa.asp”>
<SCRIPT LANGUAGE=”JavaScript”>
<!–
var time=”5″;
function count(){
setTimeout(“count()”,1000);
rest.innerHTML=time;
time–;
}
//–>
</SCRIPT>
</head>
<body onLoad=”window.setTimeout(‘count()’,1)”>
系统将在<span id=”rest” style=”color:#FF0000″></span>秒后自动返回!
</body>
</html>
版权声明:本文为lonz原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。