M
Marina
What is the code in 'somemethod'? Which IFrame's id or name can you not
access?
However before it attempts to access the parent IFrame method it needs to
know if its parent is truley an IFrame and the correct IFrame.
parent's IFrame ID. For example window.parent.id should return the name of
the IFrame's parent but for some reason the id is always null. The same is
true for an IFrame's name.
access?
Each child IFrame needs to access its parent IFrame's javascipt methods.MLibby said:How can I access an IFrame's id or name from within a child IFrame?
My application can have nested IFrames (one IFrame exists within another).
However before it attempts to access the parent IFrame method it needs to
know if its parent is truley an IFrame and the correct IFrame.
parent IFrame's ID however, I found that child IFrame can't retrieve thierI tried assigning each IFrame an ID and then having each IFrame check its
parent's IFrame ID. For example window.parent.id should return the name of
the IFrame's parent but for some reason the id is always null. The same is
true for an IFrame's name.
that method in hopes of retriving its IFrame ID, ie.I also tried seing if the child's parent contains a method and then call