$( document ).ready(function() {
$.getJSON("./data/test.json", function(json) {
console.log(json); // this will show the info it in firebug console
});
});
How can I load a local file that is not being hosted on a webserver?
I get an error in the console
Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.
The file is being hosted on my C drive