function getNewQuotes() { $.get("random_quotes.php", function(data) { // set the response from random_quotes.php to this div $("#quotesDiv").html(data); }); } // 60000 milliseconds = 60 seconds = 1 minute var t=setTimeout("getNewQuotes()", 60000);