Hello !
I have one little problem in one of my application.
I start a timer as I run a background work but the second time I start the background thing, the timer doesn't start.
I didn't put all the details of RunBackgroundTask but if needed I will.Code:function RunBackgroundTask() { var mytimer = setTimeout("UpdateTimer()", 500); LaunchAjaxthing(); } function UpdateTimer() { pct = oCIA.CIAReadData(sID,"PCT"); if(pct!="-1") { setTimeout("UpdateTimer()", 500); report.innerHTML="'" + pct + "'"; } }
Thanks for the help !



Reply With Quote


Bookmarks