How to use simulate the action of clicking button with jQuery or JavaScript?
Yes, you can do it with jquery. Use trigger
function. Here documentation. Here is sample:
$('#foo').trigger('click');
You can execute the click event handler assigned to a button control:
$("#mybutton").click();
Simply .click():
$("#theButton").click();