Search
 
SCRIPT & CODE EXAMPLE
 

HTML

html submit form onclick

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

document.getElementById("your-id").addEventListener("click", function () {
  form.submit();
});
Comment

PREVIOUS NEXT
Code Example
Html :: tailwind css navbar 
Html :: meta tags in pug 
Html :: how to change innerhtml color 
Html :: how to set logo on site tab 
Html :: what is custodial crypto wallet 
Html :: multiple ngclass 
Html :: select all text in textarea javascript 
Html :: allow full screen embed 
Html :: on this image error 
Html :: nuxt title page 
Html :: fav icon 
Html :: lato google fonts 
Html :: html syntax for contact form 
Html :: height() jquery com php 
Html :: select add placeholder 
Html :: how to add an html anchor 
Html :: jquery demo 
Html :: ancres html 
Html :: html shortcuts 
Html :: html how to move element to the bottom right of page 
Html :: html practice exercises 
Html :: html putting content in input 
Html :: image cut by div border 
Html :: bootstrap soft corner 
Html :: ip html 
Html :: tag img 
Html :: character for degrees 
Html :: etiquetas formularios html 
Html :: blink html 
Html :: add title to navbar html 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =