Menu
Hey, all!
A new braincracker is troubling my mind:
In a ‘normal’ frameset, one can use javascript to call functions from the other frames page like this:
parent.frames.<<framename>>.MyFunction();
It works fine.
Now the trouble:
In an Iframe I want to call a function from the parent document.
parent.frames is an object, but the parent.frames.<<framename>> doesn’t exist!!
This because the document in the Iframe can have frames as well and turns out to be the parent. (I think)
So my question is:
How can I use javascript, in an Iframe, to call functions from the document in wich the Iframe is (the real parent parent… g )?