method

button_to_remote

Importance_1
Ruby on Rails latest stable (v2.3.4) - 0 notes - Class: ActionView::Helpers::PrototypeHelper
button_to_remote(name, options = {}, html_options = {}) public

Creates a button with an onclick event which calls a remote action via XMLHttpRequest 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.