try this<body onLoad="setTimeout('location.reload()',10000)">
<form method="post">
</form>
</body>

解决方案 »

  1.   

    什么啊?<meta http-equiv="refresh" content="600">就行了啊!不用什么函数啊!!!!!
      

  2.   

    <html>
    <head>
    <title>test</title>
    <script language="JavaScript">
    function mytest(){
    window.location.reload();
    alert("asdfasdfasdfasdfsadfasdf");
    window.setInterval("mytest()",10);
    }
    </script>
    </head><body>
    <form method="post">
    <input type="button" value="Reload Window" onclick="mytest()">
    </form>
    </body>
    </html>
      

  3.   

    除 gjd111686(数字金刚)  外都是正确的原因在于你按了按钮之后就刷新了,函数中的setTimeout永远都不会被执行如果你将alert移至reload前,IE就不会提示错误了,但是setTimeout同样不会执行
      

  4.   

    <meta http-equiv="refresh" content="600">
    我一直以来最喜欢的DW最好用功能之一……
      

  5.   

    reload 的目的是保持服务器上面的session状态,可是又不能用
    <meta http-equiv="refresh" content="600">郁闷啊,请指教!!!
      

  6.   

    俺 没 用 过 reload ,正 好 学 习 !