Paragraph, Word & Character Counting with Countable.js
Posted · Category: MIT License, Tools
Countable.js 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. Countable has been tested in Chrome (latest), Safari (latest), Firefox (latest), Opera (latest) and Internet Explorer (7+). It is built to support both newer and older browsers.
Requirements: JavaScript Framework
Demo: http://radlikewhoa.github.com/Countable/
License: MIT License
0 Comments