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

A jQuery plugin that creates a counter inside your text fields to display how many characters are left until the maximum allowed characters are reached.

Character-Limit Character-Counter

Documentation

Character Counter for jQuery

The jQuery Character Counter Plugin is simple character counter for your forms.

alt tag

Demo

http://kokulusilgi.com/jquery-character-counter/

Getting Started

Add jquery.charactercounter.js to your project.

<form>     <div class="form-group">         <label>Foo</label>         <input id="textInput" class="form-control" type="text">     </div>     <div class="form-group">         <label>Foo 2</label>         <textarea id="textareaInput" class="form-control"></textarea>     </div> </form> <script src="jquery.js"></script> <script src="jquery.charactercounter.js"></script> <script> $('#textInput').characterCounter(75); $('#textareaInput').characterCounter(150); </script> 

License

MIT


You May Also Like