Last active
August 3, 2016 17:12
-
-
Save VincentDamour/6bec7fac95c7a7bcb9a7f3a4a149c207 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function validateEmail() { | |
// Validate email here and show error message if not valid | |
} | |
var emailInput = document.getElementById("email-field"); | |
emailInput.addEventListener("keyup", _.debounce(validateEmail, 500)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment