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
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