<html>
<head>
<script language=javascript>
t=window.setInterval("a()",3000);
function a()
{
window.location.reload();
alert("ok");
}
</script>
</head>
<body>
hello
</body>
</html>
.使用javascript:
<script language="javascript">
setTimeout("self.location.reload();",1000);
<script>
一秒一次
1,在html中设置:
之後加入下面这一行即可!
定时跳转并刷新:<meta http-equiv="refresh" content="20;url=http: 自己的url"="">,
其中20指隔20秒后跳转到http://自己的URL 页面。
点击按钮提交表单后刷新上级窗口