On 14 Jan 2009, at 11:48, Valentino Lun wrote:
> I have the following code in views. Can someone give me some hints how
> to refresh the <div id="testing"> say every 5 seconds? I
have really
> no
> idea to do so. Thank you.
>
> views/test/main.html.erb
> <div id="testing">
> <%= render :partial => "test_list" %>
> </div>
http://www.railsbrain.com/api/rails-2.2.2/doc/index.html?a=M002042&name=periodically_call_remote
Best regards
Peter De Berdt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---