jquery text area length count?

Posted by Nimesh on Stack Overflow See other posts from Stack Overflow or by Nimesh
Published on 2010-12-22T07:13:29Z Indexed on 2010/12/22 15:54 UTC
Read the original article Hit count: 176

Filed under:
|

Hi All,
I have a text area field where i need to provide information about the word count when the user enters some text in the field. Length of the field is supposed to be 500 Characters. Initialy it must show

min characters:100 | 0 of 500 // 0 of 500 must be in red color

and once the user enters come character need to update the count as well. Once the user reaches the count say the min character 100, i need to display

min characters:100 | 100 of 500 // 100 of 500 must be in green color.

How can i do this?? is there any plugin for the same??? let me know your thoughts on this.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery