Aaron Russell has gone and created a huge time saving jQuery plugin for us all to use in the form of his nifty jQuery Simply Countable plugin which basically provides a character counter for any text input or textarea box.
Using it is as simple as going
$(‘#my_textarea’).simplyCountable();
but it comes packed with loads of extra settings which allow you to specify the actual counter jQuery selector, what to actually count, how many of that thing to count and whether or not we can allow people to exceed the limit for example.
It comes released under both the MIT and GPL licenses and it is hosted on GitHub, the home of social coding.
The following is a screenshot of it in action:
Thanks Russell, a great little plugin that saved me some valuable time creating the same functionality from scratch! :)
Related Link: http://github.com/aaronrussell/jquery-simply-countable
You might also enjoy:
-
Jeff Robbins of Lullabot brings to us a rather nifty jQuery plugin in the form of BeautyTips, a tooltips plugin which uses the canvas drawing element from t ...
-
There's another great jQuery lightbox plugin making its rounds at the moment, and this one's a doozy it would seem! FancyBox is a well-coded, nifty little i ...
-
If for instance you have just used a jQuery selector to grab a whole lot of objects and now realize that in actual fact you only want to effect the first ob ...
-
DataTables is a brilliant jQuery plugin that instantly adds a full set of advanced interaction controls over whatever HTML table it gets attached to. It's f ...
-
Grabbing all the selected values or even text values from a multiple select listbox turns out to be quite simple if you know which tools to use. The idea ...