Return to Snippet

Revision: 2304
at February 1, 2007 00:44 by jordanbrock


Initial Code
<%= form_remote_tag(
	:url => {:controller => "controller_name", :action => "action_name"},
	:update => {:success => '', :failure => 'ErrorDiv'},
	:loading => "Element.show('spinner');",
	:failure => "",
	:success => "Element.hide('DialogContainer'); Element.hide('spinner'); Element.setOpacity('main', '1');")%>

Initial URL


Initial Description
An example ajax form tag

Initial Title
Remote Form Tag

Initial Tags
form, ajax, ruby

Initial Language
Ruby