I need to load a xml file from my pc in ajax, but the script it's not working at it's current state(no clue why). Here is what i have:
$.ajax({
type: "GET",
url : 'file:///C:/xampp/htdocs/files/license/index_skin.xml',
dataType: "text",
success : function (data) {
$("#txarea").val(data);
}
});
There are multiple issues in play here:
c:\xxx
. They have to be actual file URLs.