wood burning stoves
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 REST with Spring (video course) this week in the Spring 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: 15385
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)
It's not a secret anymore!