click method jquery code example
Example 1: jquery onclick function
$( "#other" ).click(function() {
$( "#target" ).click();
});
Example 2: jquery $(document.on click
$(document).on("click","#test-element",function() {});
Example 3: set onclick jquery
$(elem).click(myFunc());