JSObject(Liveconnect) problem with IE5.5 and java plugin 1.3.1_01
0 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   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 ?!
About | Sitemap | Contact