// element.click simulates an user click // doesn't work on <a> tags document.getElementById("myCheck").click();