Click to See Complete Forum and Search --> : Window Reference to refreshed window


Tracker09
11-20-2003, 08:46 AM
Ok, Here's the situation. I widow that creates anothe window. In that other window an applet is invoked. The window containing the Applet can run methods on the applet and the applet can run javascripts on the page that invoked it.
My applet runs scripts on the page that invoked it that can cause the parent of that page (The first page mentioned) to refresh. This all works fine and caused no problem.
However, that parent window needs to be able to run scripts on the window that invoked the applet. It needs to be able to do this even after it has been refreshed. Does anyone know how I can do this.

gil davis
11-20-2003, 09:23 AM
See http://forums.webdeveloper.com/showthread.php?s=&threadid=17532 it may help.

Tracker09
11-20-2003, 09:36 AM
That doesn't realy give me too much. I'm confused on how to use the frameset here to preserve the the reference to the child widow. I know that's how it needs to be done I'm just a little iffy on how to do it.

Tracker09
11-20-2003, 10:05 AM
make the page

Put it entirely in a frameset.

when the child window is opened pass the reference of it to the frame.

parent.passRefr(pageRef)

then call scripts in the frame head to access the child window.
:D