Javascript - Firefox is not supporting
Hi,
I am using following line of code its working fine with IE and its not working in Mozilla Firefox.
tempWin = openWin('WinActivityNew',625,519);
tempWin.opener=window.opener;
actually I am opening new window and after that I am closing parent of new window.
After that I want to refer parent of new window is existing(parent of closed window) opned window.i am not able to achive above one in Firefox.
If couldnât close that window if I refer window.opener.opener its is working fine.the problem with only after closing the window I cant get the parent parent object in new window(only in mozilla.)
For that I am using below line of code
tempWin.opener=window.opener;
In IE itâs working correctly. But in Mozilla Firefox itâs not working.
Can you please tell me how I can solve this problem?
I have one option that is instead of closing window we can hide that window. Any idea how can I hide window by using JavaScript.
|