Plugin jQuery jPassword - Usage Exemples

This plugin provides you to detect strength of password. It give help messages to write a strong password and generates on demand personnalized password. Help can be localized and shown in a tooltip or directly after input.

Usage

jQuery jPassword requires jQuery 1.2 or above.

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

Examples

Basic usage

								$("#jpassword_classic").jpassword();
							

Add effects to show or hide information box

								$("#jpassword_flat_generate").jpassword({
									flat: true,
									onShow: function(jInput, jTooltip){ jTooltip.slideUp(); },
									onHide: function(jInput, jTooltip){ jTooltip.slideDown(); },
									onComplete: function(jInput, jTooltip){ jTooltip.slideDown(); }
								});
							

Generate password and displayed help messages in French

								$("#jpassword_in_french").jpassword({
									lang: {
										please: "Un mot de passe complexe...",
										low: "Sécurité faible.",
										correct: "Sécurité correcte.",
										high: "Sécurité élevée.",
										length: "-X- caractères serait un plus.",
										number: "Pourquoi pas des chiffres ?",
										uppercase: "Et des majuscules ?",
										lowercase: "Quelques minuscules ?",
										punctuation: "Des ponctuations ?",
										special: "Mieux, des caractères spéciaux ?"
									},
									generate: "new_password"
								});
							

Documentation

Download

A comment?

Until I put up the comments...