Char Counter and Limiter Plugin - Charlimiter
File Size: | 5.97 KB |
---|---|
Views Total: | 754 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |

Charlimiter is a jQuery Form Plugin that limits the amount of characters in input and textarea. You can also use is as a characters counter for users input.
See also:
- jQuery Character Counter and Limit Plugin - wChar
- Simple Char Counter For Inputs and Textareas
- jQuery Character Counter and Limit Plugin For Bootstrap
- Twitter-Like Text Area Character Counter
Usage:
1. Include jQuery library (1.7+) and Charlimiter.js
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script src="jquery.charLimiter.min.js"></script>
2. Call the plugin
<script> $(function(){ $('#contador').charLimiter(); }) </script>
3. Markup
<input type="text" data-counter-rel="contador" id="contador" maxlength="20" />
Change Log:
v1.1.1 (2013-01-12)
- Added two Callbacks. onCharsFull() and onCharsEmpty().
This awesome jQuery plugin is developed by abnersajr. For more Advanced Usages, please check the demo page or visit the official website.