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 [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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to