jquery文本区长度计数? [英] jquery text area length count?
问题描述
我有一个文本区域字段,当用户在字段中输入一些文本时,我需要提供有关字数的信息。该字段的长度应为500个字符。
最初它必须显示
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必须为红色
min characters:100 | 0 of 500 // 0 of 500 must be in red color
一旦用户输入来字符,还需要更新计数。一旦用户达到计数,说明最小字符100,我需要显示
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字符:100 | 100 500 500 100 100必须是绿色。
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.
推荐答案
尝试使用此插件功能
这篇关于jquery文本区长度计数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!