Navigation Menu

Skip to content

Commit

Permalink
Updated highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmcrty committed Mar 22, 2012
1 parent 7008b1f commit 9f8f435
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README
Expand Up @@ -9,7 +9,11 @@ This plugin adds a message displaying the number of characters remaining in an i

Highlights:
- Less than 2KB minified.
- Adds a warning class to the message when the character limit has nearly been reached (useful for changing the color of the message text via CSS)
- Uses .prop() and .attr() correctly (.attr() is often used incorrectly for setting/getting DOM properties)
- Can be used on individual elements with unique options for each element
- Can be used on multiple elements with the same options
- Message formatting function can be customized via $.fn.SimpleMaxChars.message = function(){ customFunction });
- Multiple instances can be used on the same page
- Can be used on individual form elements with unique options for each element
- Can be used on multiple form elements with the same options
- Has built-in options for basic customization
- Remaining character message can be customized via $.fn.SimpleMaxChars.message = function(){ yourCustomFunction });
- Tested with jQuery 1.7.1, IE8, IE9, Chrome 17

0 comments on commit 9f8f435

Please sign in to comment.