How to access parent Iframe from javascript
Posted
by José Leal
on Stack Overflow
See other posts from Stack Overflow
or by José Leal
Published on 2009-06-01T14:43:07Z
Indexed on
2010/04/07
6:33 UTC
Read the original article
Hit count: 349
JavaScript
|iframe
Well, I have an IFrame, which calls a same domain page. My problem is that I want to access some information from this parent Iframe from this called page (from javascript). How can I access this Iframe?
Details: There are severals Iframes just like this one, that can have the same page loaded, because I am programming a windows environment. I intend to close this Iframe, that's why I need to know which I should close from inside him. I have an array keeping references to these Iframes
EDIT: There iframes are generated dynamically
© Stack Overflow or respective owner