CSS Jquery PHP

Character Count Meter with Jquery.

In this post I want to explain how to do live character or word count meter using Jquery. It is interesting and simple just ten lines of java script code. Use it and enrich your web applications with jquery.

Javascript code
$(‘#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.

 
HTML Code
Contains simple HTML code.

CSS Code

 

dispaly-character-left