jquery to trigger click event code example
Example 1: trigger button click jquery
$("input").trigger("click");
Example 2: trigger click jquery
$("selector").click(); //or
$("selector").trigger("click");
$("input").trigger("click");
$("selector").click(); //or
$("selector").trigger("click");