I have a four tabs along with the menus in the left hand side. on clicking each tab will populate corresponding data in the table.I need to write a ajax method to refresh each tabs for every 5 minutes. Can someone help with an example. -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Maheswari Bala wrote in post #1090711:> I have a four tabs along with the menus in the left hand side. on > clicking each tab will populate corresponding data in the table.I need > to write a ajax method to refresh each tabs for every 5 minutes. Can > someone help with an example.http://www.w3schools.com/jsref/met_win_setinterval.asp I am assuming you know how to make a AJAX call. The above will explain how to set an interval to call your function periodically. -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.