score:2

Accepted answer

As a first step, try this code to find out what the error is.

Also look in the networking tab of Chrome dev tools to find out what network activity is taking place.

$.getJSON("data.json", function() {

     alert("success");

})
.success(function() { alert("second success"); })
.error(function() { alert("error"); })
.complete(function() { alert("complete"); });

Related Query

More Query from same tag