Hi,

PeriodicalUpdater has a stop method.[1]  So keep a reference to it,
and then call its stop method when you delete the div being updated.
(Changing the div isn't a problem, provided it still exists.)

[1] http://www.prototypejs.org/api/ajax/periodicalUpdater

HTH,
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available


On Apr 22, 6:35 am, NonoX <nbul...@gmail.com> wrote:
> Hi there, I'm Nahuel from Argentina, and I'm new in this group.
>
> I have a question about Ajax.PeriodicalUpdater:
>
> If you use PeriodicalUpdater to return data to fill a component, such
> as a DIV, and that div is then deleted or changed, the
> PeriodicalUpdater continues to run, How can I solve this? I have been
> searching in net, but I can't get the solution.
>
> My problem is similar to that people:
>
> http://www.ruby-forum.com/topic/147307http://dev.rubyonrails.org/ticket/10762
>
> Thank!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to