复制代码 代码如下: script language="JavaScript" function myrefresh() { window.location.reload(); } setTimeout('myrefresh()',1000); //指定1秒刷新一次 /script
复制代码 代码如下:正文
页面定时刷新(1秒刷新一次)
<script language="JavaScript">
function myrefresh()
{
window.location.reload();
}
setTimeout('myrefresh()',1000); //指定1秒刷新一次
</script>
发表评论