代码改变世界

JS定时刷新页面

2014-04-09 17:44  lee.hunter  阅读(255)  评论(0编辑  收藏  举报

   <script language="JavaScript">
        function myrefresh() {
            window.location.reload();
        }
        setTimeout('myrefresh()', 100000); //指定1秒刷新一次
   </script>