Hi,

Your English is quite good.

Again, just call the stop() method on the updater when you remove the
container, it's not done automatically for you.  Here's an example:
http://pastie.org/457897

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


On Apr 24, 8:56 pm, NonoX <[email protected]> wrote:
> T.J.
> If the div container doesn't change the stop method works fine, the
> issue is presented when the div container where the periodicalupdater
> is executing change... the periodicalupdater still working in
> background and never stop... the only way for stop that is reloading
> the page.
>
> I hope be clear, I'm not an english speaker.
> NB
>
> On 22 abr, 10:20, "T.J. Crowder" <[email protected]> wrote:
>
> > 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 <[email protected]> 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/tick...
>
> > > 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to