Local html file AJAX Call and jQuery Woes Local html file AJAX Call and jQuery Woes xml xml

Local html file AJAX Call and jQuery Woes


From the link that the OP posted with the answer:

When loading XML files locally, e.g. a CD-ROM etc., the data received by Internet Explorer is plain-text, not text/xml. In this case, use the dataType parameter to load the xml file as text, and parse the returned data within the succes function

 $.ajax({   url: "data.xml",   dataType: ($.browser.msie) ? "text" : "xml",   success: function(data){     var xml;     if (typeof data == "string") {       xml = new ActiveXObject("Microsoft.XMLDOM");       xml.async = false;       xml.loadXML(data);     } else {       xml = data;     }     // Returned data available in object "xml"   } }); 

This worked for me as well.


Just a thought: I remember some GET requests failures with IE. Have you tried POSTing it?