On Jan 22, 2008 11:13 AM, Karel Minarik <[EMAIL PROTECTED]> wrote:
> When I don't specify insertion param,
> then it overwrites the content (which is correct), but this preferred
> method for *updating* the contents does not work for me... Maybe I am
> again overseeing something basic... Thanks for any help or kick

Your request should look like this (you DO NOT want to specify the
protocol, hostname or port)

new Ajax.PeriodicalUpdater('chat', '/listen',
       { asynchronous:true,
         frequency: 1,
         method: 'get',
         insertion: Insertion.Top }
       );

What results are you getting?

-justin

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