Well, I have an IFrame, which calls a same domain page.
Details: There are several 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
Practice As Follows
Also you can set name and ID to equal values
so you will be able to use next code inside child page