Created
March 25, 2017 02:10
-
-
Save helloncanella/f52e3e58de11169b252e9b2677d10cfc to your computer and use it in GitHub Desktop.
This file contains 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 processarFormulario(evento){ | |
evento.preventDefault() | |
/*codigo para validacao*/ | |
} | |
var form = document.querySelector('form') | |
form.addEventListener('submit', processarFormulario) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment