🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Novelist is an user-friendly jQuery character limit plugin that limits the amount of text that is permitted in textareas or input fields, with an visual cue to indicator how much content can still be entered as the user types.

Character-Limit

Documentation

jQuery Novelist Plugin

Limit user input in textareas or text fields.

How to use

Examples of use are here:

http://antenna.io/demo/jquery-novelist/examples/

How to run tests

git clone https://github.com/antennaio/jquery-novelist cd jquery-novelist npm install ./node_modules/mocha/bin/mocha -R spec    novelist plugin on init with custom options     ✓ should update defaults    novelist plugin on show     ✓ should have data     ✓ should be able to read character limit from data attribute     ✓ should reposition background    novelist plugin on show with some input     ✓ should reposition background     ✓ should pass correct values to a callback    novelist plugin on show with too much input     ✓ should truncate text     ✓ should reposition background     ✓ should pass correct values to a callback     ✔ 9 tests complete (117 ms)  

License

Dual licensed under the MIT and GPL licenses:
http://www.opensource.org/licenses/mit-license.php
http://www.gnu.org/licenses/gpl.html


You May Also Like