0

Possible Duplicate:
XMLHttpRequest Origin null is not allowed Access-Control-Access-Allow for file:/// to file:/// (Serverless)

$(document).ready(function(){

$.ajax({
    type: "GET",
    url: "file:///blah/blah/sample.xml",
    dataType: "xml",
    success: parseXml
});


});

Firefox 4 is able to load in the xml file but chrome is unable to and is giving me that error. I am aware of the other posts on this website, but I don't really understand them or know how to make whatever they did work for me.

Apparently, browsers prevent these type of local ajax calls? Is there any way behind it?

Thanks

Community
  • 1
  • 1
Adam
  • 8,599
  • 16
  • 66
  • 128

0 Answers0