//console.log('每隔*秒鐘重繪一次'); var timer = window.setInterval(function() { $("#table_list_1").trigger("reloadGrid"); },10 * 1000);
//console.log('每隔t秒鐘重繪一次'); function setTimer(t){ var timer = window.setInterval(function() { //do something here... //******************** },t * 1000); return timer; }
若對您有用,請贊助個棒棒糖~

轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/168615.html
標籤:JavaScript
