标签:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>自动刷新页面</title>
<script type="text/javascript">
function fresh(){
window.location.reload();//调用location中的reload函数;
}
setTimeout(‘fresh()‘,10000);//设置settimeout 10秒刷新一次;
</script>
</head>
<body>
</body>
</html>
标签:
原文地址:http://www.cnblogs.com/zerofree/p/5046368.html