Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Refershing the parent page from the second child

 
Mike Anna
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic