I am attempting to call page through ajax accross different sites within the same doman. The error displayed is: Access to restricted URI denied" code: "1012" I have set document.domain to reflect the shared domain
i.e. calling foo.baz.com/myscript.php from bar.baz.com having set document.domain = "baz.com" My understanding is that setting document.domain should open up the same origin policy to allow calls between sub-domains within the same base domain.