⟩ How programmatically trigger a click event that's being handled by jQuery?
We can fire or trigger any click event programmatically by using below methods.
jQuery('#YourElementID').trigger('click');
OR
$('#YourElementID').trigger('click');
OR
jQuery("#YourElementID").click();
OR
$("#YourElementID").click();