On Jun 24, 2007, at 5:51 AM, flughund wrote:

>
> How can I stop a periodical updater? Here's how I start it:
>
> <script type="text/javascript" charset="utf-8">
>       function initial(sender){
>       var streamer =  new Ajax.PeriodicalUpdater('ajaxcontentarea', 'inc/
> datenlader.php?sender='+sender, { method: 'get', frequency: 5});}
> </script>
>
> The call streamer.stop(); don't stop the periodical updater. Can u
> help me?
>

You're so close! Try streamer.dispose(); instead.

Walter


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to