Paragraph, Word & Character Counting with Countable.js

Programming for Search Engines 101. An area for avid PHP and .NET developers to chat about Programming techniques and how to make better use of search engines.

Moderator: Moderators

Paragraph, Word & Character Counting with Countable.js

Postby jincy » Wed Mar 20, 2013 10:58 pm

is a JavaScript function to add live paragraph-, word- and character-counting to an HTML element.
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.

See the example : http://192.168.1.200/Temp/Jincy/countable/count.php
jincy
 
Posts: 17
Joined: Tue Jun 21, 2011 11:29 pm
Tell us why you would like to become a WyseLabs Member:

Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron