From your comment I understood that you're looking for a JavaScript click event.
Say, below is your HTML element.
<input type="checkbox" id="myChkBox" onmouseover="myFn()" onclick="alert('Clicked!')">
You can click by below function.
<script>
function myFn() { //This function will be invoked while you mouse over an element
document.getElementById("myChkBox").click(); // This function will click on the element
}
</script>
Hope that helps. Feel free to reply with your comment.