Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html submit form onclick

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

document.getElementById("your-id").addEventListener("click", function () {
  form.submit();
});
 
PREVIOUS NEXT
Tagged: #html #submit #form #onclick
ADD COMMENT
Topic
Name
1+3 =