This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Problem with Window.opener 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 with Window.opener" Watch "Problem with Window.opener" New topic
Author

Problem with Window.opener

Swathi Sri
Greenhorn

Joined: Jan 18, 2007
Posts: 22
Hi,

There is a parent window which have various buttons (Click will open child window).
Child window makes call to webservices and retrieves and populates data.

The problem I am facing is one of the windows does open properly but if we close the window twice and open the window third time, it is giving some error (Since it is a popup, I could not see what the error is but the visible thing is that, data is not being displayed).

Did anybody face this problem before. Any suggestion to find out why this is happening will be greatly appreciated.

Thanks in Advance,

Regards,
Swathi.
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

Originally posted by Swathi Sri:
I could not see what the error is


did you try Mozila Firefox JavaScript Console to check the error in your program.


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Swathi Sri
Greenhorn

Joined: Jan 18, 2007
Posts: 22
Our application is not working in Mozilla..
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

Originally posted by Swathi Sri:
Our application is not working in Mozilla..


what does it mean is your application is browser specific? OR
you received as same result on Mozilla. If it is then check your JavaScript Console in Tool menu.
OR its better to place you code here to check the behavior of your task.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
switch over to the XMLHttpRequest object, no need for pop ups.

Eric
 
Consider Paul's rocket mass heater.
 
subject: Problem with Window.opener
 
Similar Threads
How to call parent window id in child window
Struts 2 result in New Window
window.open parent and Child
parent-child window relationship
javascript