Skip to content
Count and Limit the number of characters in a <textarea>
JavaScript
Find file
Pull request Compare This branch is 1 commit behind krisleech:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.markdown
counter.jquery.js
index.html

README.markdown

Character Counter

Add a character counter and limiter to a textarea. For example to limit the number of characters in a comment to 255 and give the user a visual representation of the number of characters remaining.

Usage

See index.html

License

This plugin is dual licensed under the MIT and GPL licenses.

TODO

Add options for:

  • Set 'counter_label' class
  • Label text
  • Remove the need for the redundant div if multiple textareas on the page

Copyright (c) 2010 Kris Leech

Kris Leech Freelance Website Developer RubyOnRails and JQuery http://teamcoding.com

Something went wrong with that request. Please try again.