Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (17 sloc) 715 Bytes

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