tags:

views:

84

answers:

2

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 refreshing the opening page, a new window is opened with index.php, or I get Permission Denied (in IE)

This is driving me nuts!

Thanks

A: 

Have you tried

window.opener.location.reload()
klausbyskov
Yep, thats when I get PERMISSION DENIED
michael
@michael check this link: http://www.webmasterworld.com/forum91/3056.htm maybe it solves your problem.
klausbyskov
In my case both FIREFOX and IE7 or IE8 return the same message PERMISSION DENIED!
michael
A: 

Try window.opener.location.href = 'index.php', it should be OK.

Mic