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