what's wrong in this code that is causing this warning? (i did not have a problem without the while loop.)
$(document).ready(function(){
waitForUpdate();
while(1==1)
{
var d=new Date();
m=d.getMinutes();
sec=d.getSeconds();
if((m%10)==0 && sec>20){
setTimeout(waitForUpdate(),60000);
}
}
});

New Topic/Question
Reply


MultiQuote




|