remplacer le bouton de soumettre javascript

form = document.getElementById("myform")
form.submit = function() {
	// Code here
}
Undefined