aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Refershing the parent page from the second child Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Refershing the parent page from the second child" Watch "Refershing the parent page from the second child" New topic
Author

Refershing the parent page from the second child

Mike Anna
Ranch Hand

Joined: Jul 08, 2007
Posts: 117
Hi,

I need to refresh the parent page from the second child window which is opened by the first child and the first child window closes after opening the second child.

This is the second time I am typing the post, I lost all content because the site complaine I was using the lesser than symbol.

here is the code I wrote for this. the first child doesnt open the second child in IE. however, in firefox, the first child does open the second one but closes without even me writing code to close. Ofcourse, it doesnt call the script on the parent page.

Parent :

child :

child1 (this is saved as child2.html on my system):

ofcourse the onklick is typo'd because this site wont take it
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Well if you would want to talk to the parent from the second window it ould be window.opener.opener, but I am not sure if that will actually work since the 1st pop up is closed.

Eric
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Refershing the parent page from the second child