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