//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; }
若对您有用,请赞助个棒棒糖~