开发者

jquery word length plugin instead of character length

开发者 https://www.devze.com 2023-02-12 15:55 出处:网络
Is there any plugin for jquery that counts the length of entered word...no matter how much words entered...

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

精彩评论

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