Displaying 1 result from an estimated 1 matches for "toggle_value".
2008 May 10
0
can javascript handle 422 response
I''m toggling a check box via ajax using:
application_helper.rb: ...............................................................
def toggle_value(object)
remote_function(:url => url_for(object),
:method => :put,
:before => "Element.show(''spinner-
#{object.id}'')",
:complete => "Element.hide(''spinner-
#{object.i...