开发者

jquery word length plugin instead of character length

Is there any plugin for jquery that counts the length of entered word...no matter how much words entered...

means that counting how much characters a word contain and limiting entered characters f开发者_JS百科or each word...

So please let me know if you have solution for this...

thanks


http://roy-jin.appspot.com/jsp/textareaCounter.jsp

http://web.archive.org/web/20150318025849/http://www.jqeasy.com/jquery-character-counter/demo/

http://theproductguy.com/noblecount/noblecount.demo.html

http://wplayground.comuv.com/counter/

$('#word').keyup(
    function(){
        var words = $(this).val().split();          
        //then you have array of words, and porcess it
    }
)

<textarea id="word"></textarea>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜