开发者

Reloading iframe from another iframe

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

Dif开发者_Python百科ficulty: 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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜