views:

208

answers:

1

Can I reload iframe (say __tree_iframe) from another child iframe (__content_iframe)?

Difficulty: IE6/7.

UPDATE

Obviosly I should use window.opener and find iframe using it iframes property. Apparently, IE doesn't support window.opener. Any ideas about another way?

+1  A: 

If you have trouble accessing the iframe in the parent frame, best give it an ID. Then it should be possible to do a

parent.getElementById("frameid").location.reload()

if both parent, child and sibling are in the same domain.

Pekka
I think he wants to reload sibling iframe, not everything.
Marko Dumic
@Marko I see, good point.
Pekka