Re: Cannot get xml using xmlhttprequest GET from an external javascript document

2015-03-14 Thread Tim Graham
Not sure your question is best suited for this mailing list as this seems to be a JavaScript question and not Django related, but maybe you are running into the the same-origin policy: http://en.wikipedia.org/wiki/Same-origin_policy It helps to include a code snippet as it's difficult to determ

Cannot get xml using xmlhttprequest GET from an external javascript document

2015-03-14 Thread Chen Kun
I tested the link and the link returns me a XML in the browser. In my external javascript document, I try to use get XMLhttprequest to get the document but it fails. The readystate=4 but status=0. Does anyone know the reason? Thanks. -- You received this message because you are subscribed to t