/ Published in: jQuery
$('#contentbox').keyup(function(){} - contentbox is the ID of the textbox. Using $(this).val() getting the textbox value. bar is the div ID of the count meter $('#bar').animate() increasing the width.
URL: http://www.9lessons.info/2010/04/live-character-count-meter-with-jquery.html