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).
you can use parent to access the parent page. So to access a function it would be:
parent
var obj = parent.getElementById('foo');