search for: my_html_id_2

Displaying 1 result from an estimated 1 matches for "my_html_id_2".

Did you mean: my_html_id_1
2007 Dec 04
6
Problem preventing double click with ajax submit button
For a regular form I use the :onlick option to disable the submit button after the first click in order to prevent double clicks (leading to double entries): <% form_tag :action => ''create'' do %> <%= submit_tag "Create", :onclick => "this.disabled=true,this.form.submit();"%> I''m having trouble using this same method to prevent