Massimo, does this solve the problem I'm having? I have a background
queue serving an app. The ajax script should refresh the DIV to show
the status of the item of interest whilst the item is on the queue.
Once the item is processed, it's deleted from the queue and the output
is to be displayed in the div. At this point, polling for that DIV
should stop and no longer consume any CPU cycles.

I'm using jQuery everyTime. Problem is, once the timer is set upon
page refresh, it never stops, even if I overwrite the script. I
believe the right thing is to use jQuery's oneTime, but it only fires
one time, even if I try to overwrite the script. So I've debugged it
and the script only gets loaded once. Will thie ".load" watchamacallit
do the trick?

Reply via email to