https://github.com/jish/jquery_disable_with
  
  
    Disable elements to prevent form resubmission 
    https://github.com/jish/jquery_disable_with
  
        Last synced: 5 months 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 14 years ago)
- Default Branch: master
- Last Pushed: 2011-10-10T18:41:37.000Z (about 14 years ago)
- Last Synced: 2025-04-06T02:14:33.681Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 180 KB
- Stars: 1
- Watchers: 1
- 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...');