Hi, I'm getting a parsererror when using this ajax request in Internet Explorer (7 and 8). I'm using jquery 1.4.1
$.ajax({
url: 'data.xml',
dataType: 'xml',
contentType: 'text/xml', // also tried application/xml
success: doFunction
});
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 <meta> tag? I tried, but then the XML won't validate.
Any thoughts on this?