method
observe_form
rails latest stable - Class:
ActionView::Helpers::JavaScriptHelper
observe_form(form_id, options = {})public
Like observe_field, but operates on an entire form identified by the DOM ID form_id. options are the same as observe_field, except the default value of the :with option evaluates to the serialized (request string) value of the form.