force click listen javascript code example
Example 1: js trigger click
var element = document.getElementById('element');
element.click();
Example 2: javascript trigger click on element
document.getElementById('myElementID').click();
var element = document.getElementById('element');
element.click();
document.getElementById('myElementID').click();