【问题标题】:How to refresh parent page when i call iframe?调用iframe时如何刷新父页面?
【发布时间】:2014-02-10 07:13:51
【问题描述】:

通过iframe成功提交编辑页面后,我想刷新父页面。

iframe 代码:

<iframe id="docframe" name="docframe" src="includedocinfo.php" 
       height="550" width="900px" scrolling="auto"  frameborder="0" >
</iframe>

【问题讨论】:

    标签: php


    【解决方案1】:

    从 iframe 重新加载父级的父级位置

    parent.location.reload();
    

    Just see this link

    【讨论】:

    • 你能告诉我放在哪里吗?我的意思是父页面或编辑页面。
    猜你喜欢
    • 2013-03-20
    • 2011-04-28
    • 2011-11-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多