2013-04-29 120 views

回答

0

早上好

你可以做這樣的事情:如果你需要停止間隔出於某種原因,使用

<script> 
var i = setInterval(function() { 
    $(".posts").load('post.php'); //Whatever the php page to do the query against here 
}, 60000 //timeout in miliseconds 
); 
</script> 

clearInterval(i)