popup window to be active
I have some code like this where in I am trying to open a popup window and want it to be active and the 开发者_Python百科source to not to have any function
<a href="window.open("a.html")"/>
Any help is appreciated.
You need to write it in this way:
<a href="javascript:window.open("a.html")"/>
精彩评论