Substituir o botão Enviar Javascript
form = document.getElementById("myform")
form.submit = function() {
// Code here
}
Undefined
form = document.getElementById("myform")
form.submit = function() {
// Code here
}