how to run javascript function to go to submit button code example Example: javascript submit form document.forms["myform"].submit();