// On mouse-over, execute myFunction function myFunction() { document.getElementById("myCheck").click(); }