If you use the Ajax.PeriodicalUpdater, it does this automagically! The moment the element is extended with that method, a request is made to populate it for the first time, then it settles down to updating according to the schedule.
What I usually do is put a little bit of text and a link into the div, just to cover for non-scripted visitors. This gets replaced before the page has even finished loading, so people with scripting don't even see it. Walter On May 1, 2008, at 12:33 PM, Matt Foster wrote: > The only difference > will be that you need to make an initial request to populate on load, > no big deal. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
