how to click button programmatically in jquery

JavaScript
$('#your_link_id').click()
Source

Also in JavaScript: