I\'m trying to load a local JSON file but it won\'t work. Here is my JavaScript code (using jQuery):
var json = $.getJSON("test.json"); var data = e
$.getJSON is asynchronous so you should do:
$.getJSON("test.json", function(json) { console.log(json); // this will show the info it in firebug console });