I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done?
Thanks
With JQuery It would be like this.
$("#YOUR_A_TAG_ID").click();
This only fires the function assigned to the click event. It will not navigate to the path specified in the href attribute.
JQuery documentation for click