Answers for "form submit"

55

html form

<form action="/action.php">
  <label for="fname">First name:</label><br>
  <input type="text" id="fname" value="Mike"><br><br>
  <label for="lname">Last name:</label><br>
  <input type="text" id="lname" value="Walker"><br><br>
  <input type="submit" value="Submit">
</form>
Posted by: Guest on March-26-2020
2

form submit programmatically

if (typeof document.getElementById('ss-form').submit === "object") {
    document.getElementById('ss-form').submit.remove();
}
document.getElementById('ss-form').submit();
Posted by: Guest on May-13-2020
23

html submit button

<input type="submit" value="Submit">
Posted by: Guest on November-28-2019
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
1

intput field submit button

<label for="fname">First name:</label><br>
  <input type="text" id="fname" name="fname"><br>
Posted by: Guest on August-08-2020

Browse Popular Code Answers by Language