Trigger click jquery not working

How can I simulate an anchor click via jquery?
Check this link and see
this answer by Stevanicus.

$('a#swaswararedirectlink')[0].click();

Leave a Comment