Displaying 1 result from an estimated 1 matches for "form_container".
2006 Apr 10
3
form_remote_tag : additional onsubmit funct. possible ?
...eg I''d like for an inline javascript to make the form''s div container
hidden as soon as the button is pressed to avoid having it possibly get
pressed again ( sometimes the rails response is slow enough for a user
to think they need to re-press it ).
example:
<div id="form_container">
<%= form_remote_tag :url => { :action => ''do_stuff'', :id => @stuff.id }
%>
<%= hidden_field_tag "info", @info %>
<%= text_field_tag "input_here", "0", :size => ''5'' %>
<input type="sub...