Ajax Timer
var id = setInterval(function() {
//call $.ajax here
}, 30000); // 30 seconds
Modern Mouse
var id = setInterval(function() {
//call $.ajax here
}, 30000); // 30 seconds