<script>
var timeHandler;
function abc(){timeHandler=setTimeout("location.reload()",1000);}
function def(){
if(timeHandler!=undefined){
clearTimeout(timeHandler);
timeHandler=undefined;
}
}
</script>
<input type="button" value="开始刷新" onclick="abc()" />
<input type="button" value="结束刷新" onclick="def()" />
定时刷新 开始 结束
最新推荐文章于 2023-02-16 21:22:33 发布