I'm not sure why this is happening but i have a simple Ajax Code:
$.ajax({ url: "/javascript/testing.js"})
.done(function(data){ console.log(data) })
.fail(function(jqXHR, textStatus, errorThrown) {
console.log(jqXHR);
});
.fail()
get's executed the status code is "OK". Also the data is present in responceText
to the actual legit data. Why is this happening?