• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Refershing the parent page from the second child

 
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic