Disable any element with jQuery
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
MIT-LICENSE.txt
README.md
jquery.disable.js
jquery.json

README.md

Jquery.disable

Disable any element with a jQuery.

Usage

$('#element').disable();
$('#element').enable();

Details

Standard HTML only lets you disable a few input elements. This plugin lets you specify any element for more dynamic UI's and disable user interaction to it. The plugins disable method creates a transparent div and does some positioning magic to put it over the element you have targeted. This blocks click interaction to the element.