Thursday, December 6, 2001 08:22 AM
Problem when I try to get the document of a parent window from its child pop-up window.
I use IE5.5 and java plugin 1.3.1-01
Applet code in pop-up:
win = JSObject.getWindow(this);
///"this" gets the Netscape window the applet is contained in.
Parentwin = (JSObject) win.getMember("opener");
///"opener" gets the Netscape window that called this window.
doc = (JSObject) Parentwin.getMember("document");
///JSException error: it cannot get the document ?!