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).
Also you can set name and ID to equal values
so you will be able to use next code inside child page
parent.document.getElementById(window.name);