Hi, The problem I am facing is as follows: 1. I have framset which consists of 3 frames, say top(header), main, & bottom(footer). 2. I open child windows from the links given in main frame. Function to open window is written in js. 3. I want to close frameset window if all child windows are closed, else frameset sholud not be closed. 4. I have added function to close child windows in frameset(which internally calls fuction in js), but if I store that array variable containing child windows in js, then while closing frameset variable value is lost. And if I store it in frameset, then how do I acces it from js.
I have gone through the posts similar to this, but didn't find solution for me.
I am using window.open() method only, to open child windows. But the problem is where do I store that variable which contains list of all child windows. Actually that js file is included almost many of the jsps which has function to open child windows. And when I call close function to close child ones from frameset(parent), that variable doesn't have value assigned.