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 determine what you are actually doing simply from the description.
On Saturday, March 14, 2015 at 5:15:55 PM UTC-4, Chen Kun wrote:
-- It helps to include a code snippet as it's difficult to determine what you are actually doing simply from the description.
On Saturday, March 14, 2015 at 5:15:55 PM UTC-4, Chen Kun wrote:
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 the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fb702272-03b0-41a9-9388-535a9783a9cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment