I'm working on a offline version of a website using jQuery and some xml files. I'm running in to a problem in jQuery when I do a $.ajax call on a xml file jQuery throws a error.
When I look at the error I can tell its loading the XML file because its in the error's responceText property. It seams to work just fine in Firefox.
This is how my call looks
$.ajax({
type: "GET",
url: "Modules/" + ModuleID + "/ModuleContent.xml",
dataType: "xml",
success: function(x) { xml = x; ProcessXML(); },
error: function(x) { alert(x.responceText); }
});
When I run this on a web server it works just fine. Its only when I run it from the file its self when I have this problem.
Any ideas on how I can make this work in IE?
Edit: I found the answer to my problem. Here
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…