method

periodically_call_remote

Importance_1
v1.1.6 - Show latest stable - 0 notes - Class: ActionView::Helpers::PrototypeHelper
periodically_call_remote(options = {}) public

Periodically calls the specified url (options[:url]) every options[:frequency] seconds (default is 10). Usually used to update a specified div (options[:update]) with the results of the remote call. The options for specifying the target with :url and defining callbacks is the same as link_to_remote.

Show source
Register or log in to add new notes.