I have js only project. i call from my static index.html file the json file content.
I try(not works):
$.getJSON('/js/test.json&callback=?',
function() {
alert('1111111111111111');
},'jsonp');
Edit get in chrome: XMLHttpRequest cannot load file:///somefolder/test/data.json. Origin null is not allowed by Access-Control-Allow-Origin
Thanks