File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Returning Value from popup window (cross domain)

 
Praveen Kumar
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaScript has a same domain policy so there is nothing you can do when the windows are on seperate domains.

Eric
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic