Automatic ajax call using jQuery

Total used files : index.php jquery.js random.php I am using jQuery’s setInterval() method to automatically make the ajax call in every 2 seconds. index.php In above code, the interesting code is in line 17, setInterval(callAjax,2000); which calls the callAjax function in every 2 seconds. Here 2000 is supplied in milliseconds. line 11 – sets the … Continue reading “Automatic ajax call using jQuery”