permaculture playing cards*
The moose likes HTML, CSS and JavaScript and the fly likes closing parent window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "closing parent window" Watch "closing parent window" New topic
Author

closing parent window

gendhe ranjith kumar
Greenhorn

Joined: Mar 28, 2011
Posts: 20
i have link generate excel

when user clicks the link it will generate popup window with jsp page

it has two frames

one contain a jsp to display a animation for file downloading

another contain jsp to generate excel file

after saving excel to the user system

i need to close the parent window

is there any solution for this. please provide suitable solution
carina caoor
Ranch Hand

Joined: Jun 23, 2007
Posts: 300

While opening the parent window name it as

windowParent=window.open();

and when you want to close it you can use

windowParent.close();
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: closing parent window