• 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:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

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
 
I was born with webbed fish toes. This tiny ad is my only friend:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic