https://github.com/nicksp/jquery.readonly
jQuery Readonly Plugin
https://github.com/nicksp/jquery.readonly
Last synced: 2 months ago
JSON representation
jQuery Readonly Plugin
- Host: GitHub
- URL: https://github.com/nicksp/jquery.readonly
- Owner: nicksp
- Created: 2012-12-13T21:40:19.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-06-25T13:11:01.000Z (almost 13 years ago)
- Last Synced: 2025-01-07T20:22:11.980Z (4 months ago)
- Language: JavaScript
- Homepage: http://github.com/RobinHerbots/jquery.readonly
- Size: 4.68 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#jquery.readonly
jquery.readonly is a plugin which set an element and all its child elements in readonly mode.
Elements and (asp.net) validators get disabled and events get blocked automaticaly.
There is also a grayscale option for a more visual effect when setting readonly.
This is convenient for setting input forms or certain parts of the inputform in 'readonly' mode.
##usage:
$(selector).readonly(); //set readonly
$(selector).readonly('reset'); //set normal, undo readonly## Compiling with Google Closure Compiler
First grab the sources from github. In the root you type ant.
A new folder dist is created with the minified and optimized js-files