每隔30秒 刷新一次页面
<head> <meta http-equiv="refresh" content="30"> </head>
或者使用JS定时器
//每隔1秒调用 show() 函数 <script type="text/javascript"> function show(){ alert(11); } setInterval("show()","1000"); </script>