js click on a link code example Example: javascript button onclick programmatically document.getElementById("myCheck").click();