Link to home
Start Free TrialLog in
Avatar of joannape
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('illegalCountries.asp?productCode=<% =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,location=no,status=yes,scrollbars=yes,resizable=no,width=400,height=300");
}

function closescreen()
{
        self.close();
}


//-->
</SCRIPT>

Can anyone help?
ASKER CERTIFIED SOLUTION
Avatar of Bhargava
Bhargava

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial