I'm getting a parsererror when using this ajax request in Internet Explorer (7 and 8).
I'm using jquery 1.4.1
contentType: 'text/xml', // also tried application/xml
I read somewhere else that I should set the content type, but I don't know where. The contentType param set in the above code example doesn't do anything (I could leave it out, no change).
Can I set a Content Type as tag? I tried, but then the XML won't validate.
Any thoughts on this?
Well what does your XML response look like? What makes you think that it does not contain a syntax error of some sort? What MIME type does your server return in the HTTP response header?
以上就是parsererror while AJAXing XML with jQuery的详细内容，更多请关注web前端其它相关文章！