It's not a problem - it's working as designed. The browser's security model does not 
allow cross-frame references if the frame content is from different domains. Same 
restriction applies to cross-domain javascript references between different popup 
windows. Otherwise your javascript coding in your page can access javascript functions 
in someone else's page.

> heya,
> 
> In this app that I'm workin on, I've got a link which calls a function to get the 
> title
> of the page in an iframe.  I'm using this to create a favourites area where users can
> add the current page into the favourites list.
> 
> Everything works fine until the iframe source is outside of the current app eg 
> <iframe
> src="http://google.com.au";>
> 
> It says that access is denied.  Why would this be happening and is there anyway to 
> get
> around it?
> 
> This is the gear i'm using.
> 
> var title = document.getElementById("infoFrame").contentWindow.document.title;
> 
> topsas
> 
> ben


Regards: Ayudh

+----------------------------------------------------------------+
| SOAP is the glue! Hook up your server directly to your bank.   |
| Connect to VeriPay xServ, the Australian Payments Web Service. |
| Reliable, Secure, FAST: http://www.xilo.com/xserv              |
+----------------------------------------------------------------+

        

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to