admin管理员组文章数量:1023758
I create a link with window.open, in new opened window i add a button for close window. I want when my window is close then parent window will refresh, so i use this script :
window.opener.location.href="/"; window.close();In my application parent window use secure server like as but child window not use secure server.
This is working in ff and but in IE 8 it's not working. Why is IE8 opening a new window instead of just refreshing the existing one?
Please give your suggestion.
Thanks
I create a link with window.open, in new opened window i add a button for close window. I want when my window is close then parent window will refresh, so i use this script :
window.opener.location.href="https://qa.bloom./products/customer/account/profile/"; window.close();In my application parent window use secure server like as https://examples. but child window not use secure server.
This is working in ff and but in IE 8 it's not working. Why is IE8 opening a new window instead of just refreshing the existing one?
Please give your suggestion.
Thanks
Share Improve this question edited Sep 29, 2010 at 14:06 Seema asked Sep 29, 2010 at 10:06 SeemaSeema 7873 gold badges14 silver badges25 bronze badges1 Answer
Reset to default 3Try following code:
window.opener.location = self;
window.opener.location.reload();
window.close();
It works great in my IE v8.0
I create a link with window.open, in new opened window i add a button for close window. I want when my window is close then parent window will refresh, so i use this script :
window.opener.location.href="/"; window.close();In my application parent window use secure server like as but child window not use secure server.
This is working in ff and but in IE 8 it's not working. Why is IE8 opening a new window instead of just refreshing the existing one?
Please give your suggestion.
Thanks
I create a link with window.open, in new opened window i add a button for close window. I want when my window is close then parent window will refresh, so i use this script :
window.opener.location.href="https://qa.bloom./products/customer/account/profile/"; window.close();In my application parent window use secure server like as https://examples. but child window not use secure server.
This is working in ff and but in IE 8 it's not working. Why is IE8 opening a new window instead of just refreshing the existing one?
Please give your suggestion.
Thanks
Share Improve this question edited Sep 29, 2010 at 14:06 Seema asked Sep 29, 2010 at 10:06 SeemaSeema 7873 gold badges14 silver badges25 bronze badges1 Answer
Reset to default 3Try following code:
window.opener.location = self;
window.opener.location.reload();
window.close();
It works great in my IE v8.0
本文标签: javascriptRefresh Parent Window from child window in IE8Stack Overflow
版权声明:本文标题:javascript - Refresh Parent Window from child window in IE8 - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745566064a2156456.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论