By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,712 Members | 2,063 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,712 IT Pros & Developers. It's quick & easy.

Automatically refreshing parent window

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.