How to refresh a table regularly

Dear all

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>

Millions thanks Valentino

Best regards

Peter De Berdt