I am using $.getJSON to call a url and fetch JSON data at http://jsfiddle.net/9Desk/
Although the JSON is retrieved https://i.stack.imgur.com/GE6HI.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?