[thelist] XHR and the document.domain property

Marcus Bristav marcus.bristav at gmail.com
Mon Sep 3 18:54:23 CDT 2007


Using XmlHttpRequest (MSXML6) in IE I've been trying to do requests to
(for example):

http://ws.test.com/data.xml

from a page at

http://bs.test.com/main.html

but get illegal access. I've tried to set the document.domain property
in the HTML document object to no avail. Is there some other trick I
can do to get content at this semi-other domain or is XHR more
restricted than the normal DOM in this regard?

Cheers,

/Marcus



More information about the thelist mailing list