Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

close the child window

 
jyothsna kumari
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai
i have a jsp page.on clicking a button on the page a popup window appears.and after the processing of the java handler class my parent window reloads.at this point i want to close the child window.
if i use window.close() in parent window ,when it reloads,it is giving error message that window is not defined,as it will be popped up only on clicking the button.
can any body help me.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You loose all the objects of the child window when the parnet is refreshed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic