Ruby on Rails Monday, December 31, 2012

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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment