Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

refresh parent window from child window

 
Winston Smith
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
window.opener.reload();
You are going to loose the relationship between the parent and the child.
Eric
 
sunitha reghu
Ranch Hand
Posts: 937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic