setTimeout() 方法用于在指定的毫秒数后调用函数或计算表达式.
clearTimeout() 方法可取消由 setTimeout() 方法设置的 timeout.
function refresh(){
window.location.reload();
}
setTimeout('refresh()', 1000);
转载于:https://my.oschina.net/meng527/blog/520249
setTimeout() 方法用于在指定的毫秒数后调用函数或计算表达式.
clearTimeout() 方法可取消由 setTimeout() 方法设置的 timeout.
function refresh(){
window.location.reload();
}
setTimeout('refresh()', 1000);
转载于:https://my.oschina.net/meng527/blog/520249