Amutha
12-05-2003, 03:51 AM
I have one parent window and child window.
I am accesing parents window's title and url using
window.opener.document.title;
and
window.opener.location;
If parent and child windows run in the same server, I don't have any issues accessing title and url. But I am facing some(Network) problem in accessing title and url from child window when parent and child windows run in two different physical servers.
I can put it in other way also..
I an facing problem when
parent window uses following url..
intrant.aa.com://bla/bla....
and
child window uses following url..
intranetab.bb.com://bla..
But I am getting proper result when parent and child window starts with same url say
intranet.aa.com://bla..
Please help me in solving this problem.....
Is there any dependency with server/url in javascript (window.opener)
I am accesing parents window's title and url using
window.opener.document.title;
and
window.opener.location;
If parent and child windows run in the same server, I don't have any issues accessing title and url. But I am facing some(Network) problem in accessing title and url from child window when parent and child windows run in two different physical servers.
I can put it in other way also..
I an facing problem when
parent window uses following url..
intrant.aa.com://bla/bla....
and
child window uses following url..
intranetab.bb.com://bla..
But I am getting proper result when parent and child window starts with same url say
intranet.aa.com://bla..
Please help me in solving this problem.....
Is there any dependency with server/url in javascript (window.opener)