My getJson wont work at all!

My getJson wont work at all!
0

#1

This is killing me, the console shows its registering the click and everything but the json never loads!


#2

I tried replacing $.getJSON with $.ajax and the console showed "the is broken because it never shows because json is never got".

$.ajax(
  url: "url/to/json",
  dataType: "jsonp",
  success: function(data) {
    // ... code ...
  }
);

Nothing still shows up in the page, but at least now you get the JSON. You have to tweak the code in your success function so it displays on the page.