If you start each one as a named variable: var foo = new Ajax..., then you can call foo.stop() later and end it that way.
Walter On Apr 24, 2008, at 9:58 AM, smurgy wrote: > > The prototype documentation shows the following example: > > new Ajax.PeriodicalUpdater('items', '/items', { method: 'get', > frequency: 3, decay: 2 }); > > Now, I may have quite a few PU's running at any one time. How can I > iterate through the currently running PU's in order to call stop() on > the ones I've finished with? > > Thanks for any help > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---