Ajax Php Polling

Using jquery, I need an ajax script that will call a PHP file every 5 minutes, and based on the return value from the file, it needs to change the title of the browser window and add the the returned value if it’s greater than 0 to the title. I’m willing to pay $8 as this should be fairly quick. I’m writing the PHP file. Just need the AJAX part.

Something like this:

function getData(){
$.ajax({
type:’post’,
url:’path/script.php’,
data:,//This will be a datas…

Leave a Reply

Your email address will not be published. Required fields are marked *