search for: mysubmit

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

Did you mean: _submit
2009 Jan 08
4
Problem with disable_with
...mp;nbsp;*</strong></td><td><%= collection_select ''email'', ''region_id'', @regions, :id, :name, { :include_blank => true } %></td></tr> etc. <%= submit_tag "Send", :class => "submit", :id => "mysubmit", :disable_with => "Please wait..." %> <% end -%> When I click ''Send'' without the required fields the ''Send'' button is disabled and the text is replaced with ''Please wait...'' which is as I expected. It also performs...