Hi,
I am a newbie to Javascripting and i have written a script for opening
a new window whenever the value of a popup-menu is changed , and should
eventually close the old window.
The script works fine with Internet Explorer but not with "Mozilla".
Following is the piece of code that i have written :
function makepage(element)
{
var host = element.options[element.selectedIndex].text;
newwin = window.open('test10.cgi?hp=' + host);
oldwin = newwin.opener.close();
}
Can anyone help me with this ?
Regards,
Jahangir.