setTimeout("window.location.reload()","
5000");
5秒后刷新,不连续的
setInterval("window.location.reload()","
5000");
每各5秒钟刷新
(digico_cu收集)
方法一:点击刷新
<form>
<p><input TYPE="button" value="刷新按钮一" onCLICK="ReloadButton()"></p>
</form>
<script language="javascript"><!--
function ReloadButton(){location.href="allbutton.htm";}
方法二:连继刷新
<script>
function reflash() {
setInterval("window.location.reload()","5000");
reflash()
}
</script>
<body onload="reflash()">
</body>