如何让一个页面停留几秒钟后自动跳转到其他页面
function second(){var s = document.getElementById("sec");var sec = s.innerHTML;sec--;if(sec==0){location = "index.jsp"; }else{s.innerHTML = sec;setTimeout("second()","1000");}}---------真遗憾!操作失败!
还有3秒跳转!-------------以前你做过这个例子,忘记了这快啊。...
8506