Answers for "html form action on submit"

23

html submit button

<input type="submit" value="Submit">
Posted by: Guest on November-28-2019
0

html submit form onclick

var form = document.getElementById("form-id");

document.getElementById("your-id").addEventListener("click", function () {
  form.submit();
});
Posted by: Guest on July-08-2020

Browse Popular Code Answers by Language