Last active
August 29, 2015 13:57
-
-
Save valdiney/9542104 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
<form if="form_cadastro" method="post" action="functons.php"> | |
<input type="text" id="nome" name="nome"/> | |
<button type="submit" id="gravar">Gravar Dados</button> | |
</form> |
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
var form = document.getElementById('form_cadastro'), | |
nome = form.nome; | |
gravar = form.gravar; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment