Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一些这样的代码,我试图打开一个弹出窗口并希望它处于活动状态并且源不具有任何功能
<a href="window.open("a.html")"/>
任何帮助表示赞赏。
你需要这样写:
<a href="javascript:window.open("a.html")"/>