Refresh opener window
I have a window that opens a new window with window.open
.
When I want to reload/refresh the main page with
window.opener.location="index.php"
(or many other tests, reload, etc.)
Instead of ref开发者_StackOverflow社区reshing the opening page, a new window is opened with index.php, or I get Permission Denied (in IE)
This is driving me nuts!
Thanks
Have you tried
window.opener.location.reload()
Try window.opener.location.href = 'index.php'
, it should be OK.
精彩评论