I have the following code inside a form that submits via XHR:

<button id="finalize_button" type="submit"
onclick="finalizing();">Finalize Order</button>

finalizing() basically changes the button text and disables the button
while the form is submitting. Works as expected in FF, but in Opera
9.5, the button gets disabled but the form fails to submit. If I
remove the onclick attribute it works fine. Any suggestions for a
workaround?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to