Sandeep's Nook: JavaScript Page

Text Characters Counter/Limiter

Below is the Text Characters Counter/Limiter script that counts the characters being typed into the textarea. As users type in the words into the textarea the number of characters used will automatically appear in the text box named Count. This script will be useful for those users who would like to limit the number of characters allowed in their contact forms. The maximum characters allowed can be set. In the example below the maximum allowed is 100 characters. Users will not be able to type in more than the maximum characters allowed.

Text Characters Counter/Limiter
Count:

Author: Sandeep Gangadharan
Home Page: http://www.sivamdesign.com/home/


The script is given below:

This goes in the HEAD of the html file:


This goes in the BODY of the html file: