[thelist] Two windows; child window reloads the parent.

Christian Heilmann codepo8 at gmail.com
Mon Oct 10 03:14:11 CDT 2005


> You need opener.location.reload(), however there's a chance you could get
> "Access is denied" if you're main and little windows are in different
> domains.
>
> You should be able to add a function to your main window, if this is the
> case:
>
>   function update()
>   {
>     location.reload();
>   }
>
> and in your little window:
>
>   opener.update()

I doubt very much that a setup that would disallow location changes
across domains would allow accessing methods across domains.



--
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/


More information about the thelist mailing list