A simple password check example.
Here is the page to get it to work:
<script type="text/javascript"> sp = null; function init() { sp = new StrongPassword({allowSpecialChars: true}); } </script> <body onLoad="init();"> <form> <label for="password">How strong is your Password?</label> <input type="password" id="password" name="password" value="" /> <label for="pwStren">Password Strength: </label> <input id="pwStren" /> <input type="button" onClick="$('#pwStren').val(sp.getPasswordStrength());" value="Get Password Strength" /> </form> </body>