[Solved] What function does a submit button call? [closed]


In Case your HTML Looks like this:

<form id="myform" name="myform" action="destination.html">
  <input id="sub_Button" type="button" value="clickme" onclick="mySubmitFunction();" />
</form>

Do you mean JavaScript?

document.myform.submit();

Or JQuery?

$("#myform").submit();

1

solved What function does a submit button call? [closed]