aspose 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 Spring in Action this week in the Spring 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...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem Closing a popup in FireFox