Ressources » JavaScript
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).
HTML: jQuery source will be an input in order to parse it contents
$("input").jpassword({ length: 6 });
| lang | { ENGLISH } | Contains all traductions (see page of examples to view differents values). |
| length | 8 | Length minimal of a good password (for you). |
| flat | false | Add jPassword after input or show it on demand. |
| type | 1 | Defined level of security : 0: low, 1: correct, 2: high. |
| special | 0 | If 1, used the special chars when generating password, else 0. |
| generate | null | Name of the ID of the element whose on click, generates a password (without #). |
| onShow | function(){} | Function called when the tooltip is shown (return: jQuery of input and tooltip). |
| onHide | function(){} | Function called when the tooltip is hided (return: jQuery of input and tooltip). |
| onKeyup | function(){} | Function called when writing the password (return: jQuery of input). |
| onComplete | function(){} | Function called when the process is done (return: jQuery of input and tooltip). |