Ticket #3494 (closed feature: invalid)
[form] disableWith option for disabling submit button with a text during form submission
| Reported by: | esad | Owned by: | malsup |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3 |
| Component: | plugin | Version: | 1.2.6 |
| Keywords: | form | Cc: | |
| Blocking: | Blocked by: |
Description
Hi!
In rails, there is a :disable_with option for submit_tag helper which will disable the submit button on click and change it's caption to value supplied.
Once the form submission is complete, it will restore the old text and enable the button.
In the patch attached, I've (somewhat naively) implemented this option for the form plugin. Could someone maybe take a look and if it makes sense, integrate this into the plugin?
Attachments
Change History
Changed 5 years ago by esad
-
attachment
disable_with.diff
added
comment:2 Changed 4 years ago by dmethvin
- Status changed from new to closed
- Resolution set to invalid
This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, http://dev.jqueryui.com .
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Implementation of disableWith option