Ressources » JavaScript

Documentation jPassword

Documentation about jQuery jPassword, plugin that provides you to check and manage strength of password. It generates unique password and helps you to write a strong password (in your language).

Specifications

HTML: jQuery source will be an input in order to parse it contents

Example

$("input").jpassword({ length: 6 });

Configuring jPassword

lang{ ENGLISH }Contains all traductions (see page of examples to view differents values).
length8Length minimal of a good password (for you).
flatfalseAdd jPassword after input or show it on demand.
type1Defined level of security : 0: low, 1: correct, 2: high.
special0If 1, used the special chars when generating password, else 0.
generatenullName of the ID of the element whose on click, generates a password (without #).
onShowfunction(){}Function called when the tooltip is shown (return: jQuery of input and tooltip).
onHidefunction(){}Function called when the tooltip is hided (return: jQuery of input and tooltip).
onKeyupfunction(){}Function called when writing the password (return: jQuery of input).
onCompletefunction(){}Function called when the process is done (return: jQuery of input and tooltip).