Hey there,

[EMAIL PROTECTED] a écrit :
> The following snippet of code does not work as expected in IE using
> prototype 1.5.0_rc1
> 
> What should happen is that the "in onSuccess" alert should pop up every
> 1.5 seconds.

No.  You're mistaken in your understanding.  Ajax.PeriodicalUpdater's
interval and decay mechanism only governs the moments at which there is
a check for *content update*.  You will only get notified every time the
content *changes*.  So if you aim at a static-content file, only the
first request will fire a notification.

If you need periodical display w/o regard for change, just use
window.setInterval and a regular Ajax.Updater call (and don't forget to
clear the interval on page unload).

'HTH

-- 
Christophe Porteneuve a.k.a. TDD
"[They] did not know it was impossible, so they did it." --Mark Twain
Email: [EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to