简体   繁体   English

不在 window 中打开弹出窗口

[英]not opening the popup in window

my this link is not opening the new link in a pop up It is opening on the new tab.i want it to open in a proper pop up我的这个链接没有在弹出窗口中打开新链接它在新选项卡上打开。我希望它在适当的弹出窗口中打开

<button class="button button1" onclick=" window.open('test1.php')" style ="padding-top=20px"> Generater Receipt</button>

You can use this code to open it in popup您可以使用此代码在弹出窗口中打开它

<button class="button button1" onclick=" window.open('test1.php' ,'_blank')" style ="padding-top=20px"> Generater Receipt</button>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM