Opened 14 years ago
Closed 13 years ago
#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: | |
Blocked by: | Blocking: |
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 (1)
Change History (3)
Changed 14 years ago by
Attachment: | disable_with.diff added |
---|
comment:1 Changed 14 years ago by
Keywords: | form added |
---|---|
Owner: | set to malsup |
comment:2 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
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 .
Implementation of disableWith option