Hi there,
I’m trying to have an Ajax form with a submit button that has the
:disable_with feature, but the submit button does not disable…
I tried like this:
= = =
<% form_remote_tag :url => { :controller => ‘profiles’, :action =>
‘update’ }, :method => :put do -%>
<%= submit_tag ‘Save’, :disable_with => ‘Please wait…’ %>
<% end -%>
= = =
Is such a combination not possible or am I doing something wrong?
Thank you for any help!
Tom