Recommend this page to a friend!
  Classes of Axel Hahn   AH JavaScript Password Strength Check   Download  
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: AH JavaScript Password Strength Check
Calculate and display the strength of a password
Author: By
Last change: Update of
Date: 2 years ago
Size: 894 bytes


Class file image Download

password check (ahpwcheck.class.js)


Javascript class for optical verification of an entered password. You can define count of required letters, digits and special chars. This class shows fulfilled requirements while a user types his (new) password.

* Author: Axel Hahn * project home: <> * licence: GNU GPL * see documentation: <>


watch a password field and show requirements

var oPwCheck = new ahpwcheck(aOptions);
    [id of password field],
    [id of div for output]

Show a score

var oPwCheck = new ahpwcheck(aOptions);

see example html files in the package and the section Get started in the documentation: <>