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
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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?
It is sorta covered in the
JavaRanch Style Guide
subject: Close button not working using window.close method
Dialog for Input in JSP
object dies when redirect=true
Submit form and close window
Rereshing after modification / Listing
Print the main page after confirmation page is closed
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014