Answers for "ajax php show random questions"

PHP
0

ajax php show random questions

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);
Posted by: Guest on October-13-2020

Browse Popular Code Answers by Language