rejishaa 0 Newbie Poster

Hi all,

While trying to close parent window after loading the child is not working in Firefox but in IE.

i am using the following code..

theChild=window.open('two.php','Page2','toolbar=no,status=no,menubar=no,width=400,height=200');

if(navigator.appName=='Microsoft Internet Explorer')

{
    this.focus();
    self.opener = this;
    self.close();

}

else 
window.open('','_parent','');
theChild.close();

}

thanks in advance...
rejisha