Skip to content

Instantly share code, notes, and snippets.

@karlitros
Last active August 29, 2015 14:02
Show Gist options
  • Save karlitros/113dab17df2848dd7cbd to your computer and use it in GitHub Desktop.
Save karlitros/113dab17df2848dd7cbd to your computer and use it in GitHub Desktop.
Demonstrates how bindWithDelay could be used for validating a password after the user's finished entering it
$("input.myTextField").bindWithDelay("keyup", function() {
console.info('We\'re now ready to validate the password');
passwordValidationFunction(this.val());
}, 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment