开发者

popup window to be active

开发者 https://www.devze.com 2023-02-08 11:49 出处:网络
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

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")"/>
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号