I've been trying to customize this script found [here on stack][1] using the zxcvbn password strength library and can only get it to output the password strength score. all the other properties either return "undefined" or "[object Object]." What am I missing? Thanks
I've tried:
$(function () {
$('#password').keyup(function() {
var textValue = $(this).val();
var result = zxcvbn(textValue);
$('#result').html("Password strength score: " + result.score + "<br />Estimated time to crack: " + result.crack_time_display + "<br />Suggestions:" + result.feedback);
});
[1]: https://stackoverflow.com/questions/11596556/using-dropboxs-zxcvbn-password-strength-estimator