Forgive me if this has already been brought up, but I am having an issue while developing for IE6. When browsing to my page with an http request --
http://mysite.com/index.html, the ajax request works successfully. When browsing to the particular file -- C:\myfolder\index.html, the ajax request fails in IE6 and Chrome 8.0.552.18 dev. It works successfully in FF 3.6.12 and Opera 9.62.
Below is the code I'm using. Am I just missing something here, or is there a work around to load this XML file outside of an XMLHttpRequest or creation of an ActiveXObject? The end user will quite possibly open the index.html file more often than browsing to it, and unfortunately their primary browser is IE6. Any suggestions or thoughts are appreciated. Thanks in advance.
- function getXML()
{
$.ajax({
type: "GET",
url: "xml/myxmlfile.xml",
dataType: "xml",
success: parseXml
});
}