HTML JS每隔一段时间刷新当前页面

HTML: 

 <meta http-equiv='refresh' content='10'>

每隔10s刷新页面

添加到head中

JS:

location.reload();

猜你喜欢

转载自blog.csdn.net/qq_40771567/article/details/83068101