开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜