iframe accessing parent DOM?
- by Yuval A
How is it possible for a script within an <iframe> to have any notion of the page containing it? Can a script in the frame access any context outside of it? What about cross-domain?
Up until now I believed an <iframe> is completely agnostic to the containing page, but I have seen an example which contradicts this belief.
What exactly can and can't be done from within an <iframe> with respect to the containing page?