An open API service indexing awesome lists of open source software.

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

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