jQuery Password Checking and Notification Plugin

jQuery Password Checking and Notification Plugin
File Size: 45.9KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

jQuery Password is a jQuery based plugin that checks/scores the password strength your user input, and then shows the strength problem of the password. The plugin uses a set of criteria including personal information and dictionary words and displays a password strength meter (WEAK, MEDIUM, STRONG) as you need.

You might also like:

How to use it :

1.  Download and include the latest jQuery library and jquery.password.js in your head section

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="../src/jquery.password.js"></script>

2. Include jQuery Password CSS on your page

<link rel="stylesheet" href="../src/jquery.password.css" />

3. Html Structure

<input id="passwordy" type="password" />
<div id="feedback"></div>

4. Call the plugin with options

<script>
$(function() {
$('#passwordy').password({
personalInformation:[
$('#name'),
$('#dateofbirth'),
$('#place')
],
dictionary:'../src/dictionaries/en.js',
change:function(score, issues, pass) {
$('#feedback').html('<strong>Score:</strong> '+Math.round(score)+'<br /><strong>Problems:</strong> '+issues.join(', ')+'<br /><strong>Passed?:</strong> '+pass);
}
});
});
</script>

More Examples:


This awesome jQuery plugin is developed by unknown. For more Advanced Usages, please check the demo page or visit the official website.