Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jish/jquery_disable_with
Disable elements to prevent form resubmission
https://github.com/jish/jquery_disable_with
Last synced: 4 days ago
JSON representation
Disable elements to prevent form resubmission
- Host: GitHub
- URL: https://github.com/jish/jquery_disable_with
- Owner: jish
- Created: 2011-07-28T05:10:47.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-10-10T18:41:37.000Z (about 13 years ago)
- Last Synced: 2024-10-31T17:13:56.613Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 180 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jQuery disable with
A jQuery plugin to disable buttons when you click on them. This is to prevent
forms from being submitted multiple times.## Usage
Just add a `data-disable-with` attribute to your button.
Or dynamically disable a jQuery object.
$('#button').disableWith('submitting...');