javascript pretend click code example
Example: simulate a user click
// element.click simulates an user click
// doesn't work on <a> tags
document.getElementById("myCheck").click();
// element.click simulates an user click
// doesn't work on <a> tags
document.getElementById("myCheck").click();