I'm a newbie learning JavaScript (specifically Leaflet.js for making maps), and I've run into a problem when trying to load data stored as JSON from a file on my Weebly site. The code I've used is:
var test = "http://www.kingcountydata.weebly.com/files/theme/hrabasetopo.json?jsoncallback=?";
$.getJSON(test, function (json) {
console.log(json);
console.log("success");
});
This seems like it should work, but neither the JSON data nor "success" show up in my browser console. Am I missing something obvious here? Thank you in advance for your help!