search for: pbclean

Displaying 1 result from an estimated 1 matches for "pbclean".

Did you mean: bbclean
2006 May 02
6
Stopping the Ajax.PeriodicalUpdater -- My Kludge?
...ens. The script continues! The workaround: Set percent value using pbCheck, Use setTimeout to continually poll pbKill() which checks the percent value & if it''s greater than 10, issues STOP to updater before destroying it (when a STOP is recieved, the onComplete function is called[pbClean()]). <script type="text/javascript"> // <![CDATA[ if (!pb) { var pb = new Ajax.PeriodicalUpdater("ajaxUpdate", "ajax_mailingStatus.php", { asynchronous:true, frequency : 2, onSuccess: pbCheck, onComplete: pbClean }); } var percent = 0; function pbCheck(...