Answers for "javascript submit button"

3

submit button

<button type="submit" form="form1" value="Submit">Submit</button>
Posted by: Guest on May-04-2020
9

javascript submit a form

document.getElementById("myFormID").submit();
Posted by: Guest on August-02-2019
13

javascript onclick button

var button = document.querySelector('button');
button.onclick = function() {
  //do stuff
}
Posted by: Guest on March-10-2020
1

how to submit a form in js

document.forms["myform"].submit();
Posted by: Guest on August-02-2020
0

js submit

document.forms["name of form"].submit();
Posted by: Guest on October-09-2021

Code answers related to "javascript submit button"

Browse Popular Code Answers by Language