Plugin jQuery: Countable.js : live word-counting in JavaScript

Countable.js : live word-counting in JavaScript
http://www.jqueryrain.com/?http://radlikewhoa.github.com/Countable/
https://github.com/RadLikeWhoa/Countable
22/03/2013

Nội dung

Countable.js : live word-counting in JavaScript

Countable is a JavaScript function to add live paragraph-, word- and character-counting to an HTML element. Countable does not rely on any libraries and is very small in size.

Countable takes the value from an HTML element and counts paragraphs, words and characters (without and with spaces). Those numbers are then returned in an object, accessible by a single parameter in the callback function.


Nguồn: www.jqueryrain.com/2013/03/countable-js-live-word-counting-in-javascript/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận