Dear Folks,
The application I am working on uses Frames (TopFrame, SideFrame(Left) and the MainFrame). On the occurance of a certain event, I am closing the window from one of the frames. This is the script I use.
function CloseWin ()
{
window.opener = window;
window.close();
}
Works perfectly well with IE. But not with Netscape. The Javascript console says 'Script may not close windows that were not opened by the script'. Is there any workaround to this?
Would indeed appreciate your help on this.
Arun
The application I am working on uses Frames (TopFrame, SideFrame(Left) and the MainFrame). On the occurance of a certain event, I am closing the window from one of the frames. This is the script I use.
function CloseWin ()
{
window.opener = window;
window.close();
}
Works perfectly well with IE. But not with Netscape. The Javascript console says 'Script may not close windows that were not opened by the script'. Is there any workaround to this?
Would indeed appreciate your help on this.
Arun