By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,727 Members | 1,396 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,727 IT Pros & Developers. It's quick & easy.

Javascript popupWin

P: 1
I am giving the following command to execute the javascript popupwin command to bring up an url in a new window from the existing html page. Does not work with the following error given below.

command:
<a href="javascript:popupWin('http://java.sun.com/products/archive/j2se/1.4.2_03/index.html','350','300')">JRE 1.4.2_03</a>

error:
Line: 1
Char: 1
Error: Object expected
Code: 0
URL: file://c:\temp\versions.html
Oct 13 '06 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
If popupWin is not defined, you will get this error. Use window.open() to open a popup window.
May 23 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.