submit form data using get in a javascript function code example Example: javascript submit a form document.getElementById("myFormID").submit();