Posts Tagged ‘character counter’

jQuery character counter

Tuesday, April 13th, 2010

Hey so I just wanted to post a quick bit of code that I put together for the character counter we’re using at gravity.com.  It’s pretty simple but it does the trick.  I’m binding to two key events here to ensure that we get a counter update when you hold the key down as well as on key up.  Hope it serves you well.

http://github.com/jasonmoo/jQuery-character-counter