html5 progmatic click event code example Example: javascript button onclick programmatically document.getElementById("myCheck").click();