<!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>
时间: 2024-10-06 06:05:18