一个每隔10分钟自动reload的程序(求教) try this<body onLoad="setTimeout('location.reload()',10000)"><form method="post"></form></body> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 什么啊?<meta http-equiv="refresh" content="600">就行了啊!不用什么函数啊!!!!! <html><head><title>test</title><script language="JavaScript">function mytest(){ window.location.reload(); alert("asdfasdfasdfasdfsadfasdf"); window.setInterval("mytest()",10);}</script></head><body><form method="post"><input type="button" value="Reload Window" onclick="mytest()"></form></body></html> 除 gjd111686(数字金刚) 外都是正确的原因在于你按了按钮之后就刷新了,函数中的setTimeout永远都不会被执行如果你将alert移至reload前,IE就不会提示错误了,但是setTimeout同样不会执行 <meta http-equiv="refresh" content="600">我一直以来最喜欢的DW最好用功能之一…… reload 的目的是保持服务器上面的session状态,可是又不能用<meta http-equiv="refresh" content="600">郁闷啊,请指教!!! 俺 没 用 过 reload ,正 好 学 习 ! js函数传入多级菜单项 大家参谋下 关于Jquery插件--FlexiGird复选框默认选中问题 math.js 中有没大數取余函數? 在IE8浏览器中,如何实现div层的旋转 关于给Dtree增加右键,请指教 JS变量能做为URL的参数.在JAVA中用request里取出来吗. 急!!!!---在线等待! 如何让用户点了关闭按钮后不出现那个提示窗口? 到底有没有可能得到对方显示器的分辨率 请问VBSCRITP和JAVASCRIPT的优点和缺点 filesystemobject问题,太令人费解了? 神奇的cookies?
<head>
<title>test</title>
<script language="JavaScript">
function mytest(){
window.location.reload();
alert("asdfasdfasdfasdfsadfasdf");
window.setInterval("mytest()",10);
}
</script>
</head><body>
<form method="post">
<input type="button" value="Reload Window" onclick="mytest()">
</form>
</body>
</html>
我一直以来最喜欢的DW最好用功能之一……
<meta http-equiv="refresh" content="600">郁闷啊,请指教!!!