SyntaxFix
Write A Post
Hire A Developer
Questions
As of 2014, you can trigger the click on a <a/> tag. However, for security reasons, you have to do it in a click event handler, or the browser will tag it as a popup (some other events may allow you to safely trigger the opening).
<a/>
click
jsFiddle