Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Returning Value from popup window (cross domain)

 
Praveen Kumar
Greenhorn
Posts: 22
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic