add click to js native code example
Example 1: js trigger click
// On mouse-over, execute myFunction
function myFunction() {
document.getElementById("myCheck").click();
}
Example 2: js trigger click
<a href="#" target="_blank" onclick="javascript:Test("Test");">MSDN</a>