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
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745566065a4633401.html
评论列表(0条)