please send any reference
views:
30answers:
1
+2
A:
<button onclick="window.open('http://www.google.com');">Open popup</button>
Darin Dimitrov
2010-03-25 08:18:53
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
2010-03-25 08:29:25
@Drop, is your browser blocking popups? and change `google.com` to `http://www.google.com` and see what happens.
The Elite Gentleman
2010-03-25 08:35:08
Still popup window isn't opened with www.google.com
Drop
2010-03-25 08:42:35
`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
2010-03-25 08:44:31
Thanks, I resolved the problem
Drop
2010-03-25 08:52:40
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
2010-03-25 08:57:01