Click to See Complete Forum and Search --> : self parent child


Hooman
05-20-2003, 04:56 PM
Question:

We can call a function in the parent window by:
self.opener.functionname();

How can we call a function of the child (in the parent code)?

Reponds greatly appreciated....

gil davis
05-20-2003, 04:58 PM
You have to have a handle to it. There is no automatic link.var child = window.open(...);
...
child.document.getElementById("someID").style.visibility = "visible";

Hooman
05-20-2003, 05:01 PM
Thanks alot,
yes, by calling the handle it works....
Many thanks,