wood burning stoves
The moose likes HTML, CSS and JavaScript and the fly likes refresh parent window from child window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "refresh parent window from child window" Watch "refresh parent window from child window" New topic

refresh parent window from child window

Winston Smith
Ranch Hand

Joined: Jun 06, 2003
Posts: 136
Hello All,
I have a situation I'd like to get some input on. I'm opening a new window (child window B) from parent window A. Now child window B is going to get some user input and once the user finishes, I'd like to update window A (refresh the page). Can anyone advise on this? How can a child window communicate with its parent window? Is there a similar naming scheme as in frames?
Thanks everyone!

for (int i = today; i < endOfTime; i++) { code(); }
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
You are going to loose the relationship between the parent and the child.
sunitha reghu
Ranch Hand

Joined: Dec 12, 2002
Posts: 937
From the child window pass the varible to parent window
with target main window and the form action of the child window should be parent window. After that refresh the parent window.
wood burning stoves
subject: refresh parent window from child window
jQuery in Action, 3rd edition