roopa
roopa

Reputation: 75

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>

Upvotes: 0

Views: 330

Answers (1)

Hello
Hello

Reputation: 53

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>

Upvotes: 1

Related Questions