wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Returning Value from popup window (cross domain) 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 "Returning Value from popup window (cross domain)" Watch "Returning Value from popup window (cross domain)" New topic

Returning Value from popup window (cross domain)

Praveen Kumar

Joined: Sep 26, 2006
Posts: 22
Hi all,

I am trying to return values from popup window to parent window. The problem is, since both the windows are in different machines and due to which it is returning an 'access is denied' error when I try to use

opener.document.Form1.txtFullName.value = 'something';

How can I resolve this issue. When Both the windows are in same machine then at that time, I am not facing any problem with this statement.

Please help me in this issue.

Thanks in advance.

Praveen Kumar S.<br />SCJP 1.4<br />Score : 90%
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
JavaScript has a same domain policy so there is nothing you can do when the windows are on seperate domains.

I agree. Here's the link: http://aspose.com/file-tools
subject: Returning Value from popup window (cross domain)
Similar Threads
Java internationalization question: Chinese file name display is grabbed in browser
Help on popup windows
How to maintain session time out in parent window and popup windows
Modal dialog for a popup
Pop-up in struts