i cannot understand, am i making the same mistake each time but my <body onload="startChecking()">
does not want to load again??
here my full code:
i just want the console.logs to execute then i will continue with the rest of my code...
var lastmessage = 0;
receiveReq = new XMLHttpRequest();
if (receiveReq.readyState == 4 || receiveReq.readyState == 0)
mTimer = setTimeout('getNewMessage();',30000);
//more code here