2015-03-25 30 views

回答

1

<meta http-equiv="refresh" content="10" />
或者
setTimeout(function(){ 
 
    window.location.reload(1); 
 
}, 10000);

如果要刷新頁面上一定的時間,使用日期時間獲得:PHP的( 'H I')的功能。如果條件內部刷新頁面,請在使用setTimeout一段時間後繼續調用此函數。每當條件滿足條件提供的時間,頁面將刷新。

相關問題