File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Close button not working using window.close method
Joined: May 28, 2012
Aug 30, 2012 01:29:24
One of my
is forwarded from the previous page, the JSP has a close button which is not working now.
It works if the page is redirected.
But need to make this close button working.
I used window.close() now. I had even used self.close(). But none works.
Ca i know any other way to close the window?
Joined: Jan 28, 2008
Aug 30, 2012 04:02:18
Deepshan Shetty wrote:
I had even used self.close().
If you want to close current window[which is not opened using open()] then this is what you have to do. by the way: can you elaborate?
I agree. Here's the link:
subject: Close button not working using window.close method
Print the main page after confirmation page is closed
Submit form and close window
object dies when redirect=true
Dialog for Input in JSP
Rereshing after modification / Listing
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015