can I return a value from a form submit function javascript code example Example: javascript submit a form document.getElementById("myFormID").submit();