470,614 Members | 1,400 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,614 developers. It's quick & easy.

Automatically refreshing parent window

Is it possible to (via Javascript) refresh a parent page from a child page.
I have an app that displays a list of items that the user has authority to
change. If the user selects one of the items, another window is opened
containing the details of the item. If the user changes any of the details
of the item I'd like to refresh the original (list) page.
Thanks in advance.
Steve
Jul 20 '05 #1
1 2112
Steve Dower wrote:
[...] If the user selects one of the items, another window is opened
containing the details of the item. If the user changes any of the
details of the item I'd like to refresh the original (list) page.


if (opener
&& !opener.closed
&& opener.location
&& (typeof opener.location.refresh == "function"
|| typeof opener.location.refresh == "object"))
opener.location.reload();
HTH

PointedEars
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Jamie Jackson | last post: by
1 post views Thread by hashya | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.