tags:

views:

30

answers:

1

please send any reference

+2  A: 
<button onclick="window.open('http://www.google.com');"&gt;Open popup</button>
Darin Dimitrov
Thanks, I tried with following code, but popup window isn't opened <input id="Button1" type="button" value="Scan" language="javascript" onclick="window.open('http://www.google.com';)"/></td>
Drop
@Drop, is your browser blocking popups? and change `google.com` to `http://www.google.com` and see what happens.
The Elite Gentleman
Still popup window isn't opened with www.google.com
Drop
`window.open('google.com';)` is your problem. Don't put the `;` **inside** the bracket, rather do this `window.open('http://www.google.com');`.
The Elite Gentleman
Thanks, I resolved the problem
Drop
Cool, if it helped you, accept the solution (click on the big tick underneath the voting system) and give Darin the score.
The Elite Gentleman