Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
jQuery password strength plugin
JavaScript
branch: master

Triggering strength check on initial value too (Jason Judge's suggest…

…ion)

Some code cleanup, upping version number
latest commit f70c8667bc
@n0nick authored

README.md

jQuery Password Strength

This plugin will check the value of a password field and evaluate the strength of the typed password. This is done by checking for the diversity of character types: numbers, lowercase and uppercase letters and special characters.

To use, call the function on a password field:

$('input[type=password]').password_strength(options);

The options argument is optional. Available values to set:

  • container: Element to display the strength text in. If none given, a span would be created immediately after the password field.

  • bar: External element to set a strength class to (optional).

  • minLength: Minimum password length.

  • texts: An array of strength texts for the 5 different levels, to override the default texts.

  • onCheck: A callback that gets called after a strength check. Gets the new strength value as a parameter.

jQuery plugin page: http://plugins.jquery.com/project/password_strength

License

The software is provided AS IS under the terms of the GNU General Public License.

Something went wrong with that request. Please try again.