Answers for "simulate button click with javascript"

1

simulate a user click

// element.click simulates an user click
// doesn't work on <a> tags
document.getElementById("myCheck").click();
Posted by: Guest on October-31-2020
0

javascript click button by id

var button = document.getElementById("button");
button.click();
Posted by: Guest on May-20-2020

Code answers related to "simulate button click with javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language