Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Count and Limit the number of characters in a <textarea>
JavaScript
branch: master

Merge pull request #1 from karyboy/master

add a class if character limit exceed's
latest commit c545523291
@krisleech authored
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.