| Author |
How to get the reference of a hidden variable of the Opener
|
Vikram Shirur
Ranch Hand
Joined: Jul 27, 2006
Posts: 33
|
|
Hi... I have a JSP(Opener) and its URL is "http://192.168.xx.xx/ttm/Login" and have a link on the page.... When I click on the link it open a new page.... and its URL is "http://69.68.xx.xx/ttm/register".... I have a hidden variable in the Opener.... I want to access it in the newly opened window... How do I get the reference to the hidden varible of the Opener... The problem is with the IP.... there are two different IP's "http://69.68......" & "http://192.168.....".... this is causing the problem... Can we get the reference of the Opener irrespective of the IP's Please Help, Thanks, Vikram Shirur SCJP 1.4
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Differetn IPs mean different domains means it breaks JavaScript's same domain policy. Therfore you will not be able to get the value this way. Eric
|
 |
Vikram Shirur
Ranch Hand
Joined: Jul 27, 2006
Posts: 33
|
|
Thanks a lot for the information.... I did not know about the "JavaScript's same domain policy" Regards, Vikram Shirur SCJP 1.4
|
 |
 |
|
|
subject: How to get the reference of a hidden variable of the Opener
|
|
|