File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Problem Closing a popup in FireFox 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 "Problem Closing a popup in FireFox" Watch "Problem Closing a popup in FireFox" New topic
Author

Problem Closing a popup in FireFox

Krishna Nagadev
Ranch Hand

Joined: Jan 04, 2005
Posts: 32
I have a Page where I need to popup a window. It needs to close once we select a link on the child window. Since Iam using the AJAX framework, I need to close the child window after processing the server response.

Iam using the child window reference to close the popup.

windowRef = window.open(url,"Search","toolbar=no");

//After processing the server response I need to close the popup

windowRef.close();

This code is working fine in IE, But in-case of firefox, the popup window is open till I place the mouse curser on it. otherwise it is not closing..


Any Help...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem Closing a popup in FireFox
 
Similar Threads
Check if popup window is already open from parent window?
pop in IE vs Firefox
close the child window
Problem with popup window.
Problem with html:errors