复制代码 代码如下: 出错啦~~~ <BR>var i = 5; <BR>var intervalid; <BR>intervalid = setInterval("fun()", 1000); <BR>function fun() { <BR>if (i == 0) { <BR>window.location.href = "../index.html"; <BR>clearInterval(intervalid); <BR>} <BR>document.getElementById("mes").innerHTML = i; <BR>i--; <BR>} <BR> 出错啦~~~ 系统出错,请联系管理员! 将在 5 秒钟后返回首页!