I am using $.getJSON to call a url and fetch JSON data at http://jsfiddle.net/9Desk/
Although the JSON is retrieved http://i.imgur.com/Smpgu.png, I am unable to execute the success function.
$(function () {
$.getJSON(url)
.success(function (data) {
alert(data);
var listItems = "";
});
});
Can anyone tell me where am I going wrong and why?