Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting the url of other frame or window

Status
Not open for further replies.

caesarkim

Programmer
Oct 30, 2003
56
US
I am working on a project that has multiple frames (managed by other groups) and pop-up windows. But there is a problem. I am trying to get the url of the web application coming from a different host (managed by other group). I saw a resource saying that it is not doable. So I am just wondering if it is doable with applet or any workaround or anything. It would be very grateful if somebody can show me a slight light on this issue.

Thanks.
 
If all frames are on the same ultimate domain (e.g. xxx.domain.com and yyy.domain.com) then you should be able to look into the document.domain property. Failing that, I'm not entirely sure you'll be able to do this due to security restrictions imposed by browsers.

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top