Skip to content

Instantly share code, notes, and snippets.

@christianpetri
Forked from danpalmer/complexify-demo.html
Created March 10, 2016 15:14
Show Gist options
  • Save christianpetri/762d7042438b71b29e63 to your computer and use it in GitHub Desktop.
Save christianpetri/762d7042438b71b29e63 to your computer and use it in GitHub Desktop.
<script type="text/javascript" src="/js/jquery.complexify.js"></script>
<script type="text/javascript">
$("#password").complexify({}, callback(valid, complexity){
alert("Password complexity: " + complexity);
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment