Jump to content

Reloading "child" window's parent


Recommended Posts

Hi, this is my first post and I hope I'm following protocol correctly.From my main window, I use window.open() to create a new window. I am not sure if that is really a "child" window or if child is used only when discussing frames. From the child window, when a link is clicked, I want to update the source of the "parent" window, the window that created the child.I've scoured Google and several javascript sites looking for an answer. I get plenty of examples of how to do this with frames, but not with disconnected windows. I've tried to access the parent window and set the source from the child in multiple ways:window.parent.locationdocument.parent.locationtop.locationwindow.top.locationI've exhausted every permutation. I can get the child window's source to update to what I want the parent window to be, but never the parent itself.Could someone point me to an example please?Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...