Skip to main content

Bug Tracker

Side navigation

#3494 closed feature (invalid)

Opened October 18, 2008 01:05AM UTC

Closed October 12, 2009 11:18PM UTC

[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)
  • disable_with.diff (0.8 KB) - added by esad October 18, 2008 01:06AM UTC.

    Implementation of disableWith option

Change History (2)

Changed October 18, 2008 08:33PM UTC by flesler comment:1

keywords: → form
owner: → malsup

Changed October 12, 2009 11:18PM UTC by dmethvin comment:2

resolution: → invalid
status: newclosed

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 .