简体   繁体   中英

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>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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