This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes close the child window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "close the child window" Watch "close the child window" New topic
Author

close the child window

jyothsna kumari
Ranch Hand

Joined: Jul 21, 2003
Posts: 108
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
You loose all the objects of the child window when the parnet is refreshed.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: close the child window
 
Similar Threads
Child window to Parent window
error in passing values from child window to parent window
How to close child window when parent closes
parent form reload?
Parent and child window cncept in java swing