joannape
asked on
javascript open window problem
I'm trying to open a new window using JavaScript and send a querystring consisting of two variables. This works fine in IE but not in Netscape. Code below:
<DIV CLASS="ERROR">Warning: <% = name %> is illegal in some countries. To see a list of these countries, click <A CLASS="ERROR" href="javascript:Start('il legalCount ries.asp?p roductCode =<% =productCode%>&name=<% =Server.URLEncode(name) %>')";>here</A></DIV>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin hiding from old browsers
// This javascript function opens windows on links
function Start(page) {
OpenWin = this.open(page, "CtrlWindow", "toolbar=no,menubar=no,loc ation=no,s tatus=yes, scrollbars =yes,resiz able=no,wi dth=400,he ight=300") ;
}
function closescreen()
{
self.close();
}
//-->
</SCRIPT>
Can anyone help?
<DIV CLASS="ERROR">Warning: <% = name %> is illegal in some countries. To see a list of these countries, click <A CLASS="ERROR" href="javascript:Start('il
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin hiding from old browsers
// This javascript function opens windows on links
function Start(page) {
OpenWin = this.open(page, "CtrlWindow", "toolbar=no,menubar=no,loc
}
function closescreen()
{
self.close();
}
//-->
</SCRIPT>
Can anyone help?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.