hello guys im new here and i need some help with my code.can sombody help me please? so y want to get and update users status .here is my code.tnks



JQ = jQuery.noConflict();
function updateStatus()
{
var updateOnlinePeriod = 120; //60 secs in all
JQ.ajax({
type: 'POST',
data: {cachetimeout: updateOnlinePeriod},
url: "UpdateOnlineStatus.php"
});
setTimeout('updateStatus()',updateOnlinePeriod*1000);
}


JQ(document).ready(function () {
updateStatus();
});