jQuery Limit Characters Input: Limit the number of characters of text form inputs

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 37 All time: 518 This week: 2Up
Version License JavaScript version Categories
maxchars 1.0BSD License5jQuery, Forms
Description Author

This is a jQuery plugin that can be used to limit the number of characters of text form inputs.

It can traverse all form inputs that exist in a Web page with the maxChars attributes and retrieves the number that is set on those attributes.

The plugin can add text span element next each input to display the number of characters that the user can type before the input value character length reaches the limit specified by the maxChars attribute.

Picture of Gianluca Zanferrari
  Performance   Level  
Name: Gianluca Zanferrari <contact>
Classes: 6 packages by
Country: The Netherlands The Netherlands
Age: 56
All time rank: 81 in The Netherlands The Netherlands
Week rank: 6 Up2 in The Netherlands The Netherlands Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file maxchars.html Example example file
Plain text file maxchars.js Class class itself

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:518
This week:2Up