Having trouble pulling up data from the JSON feed using Jquery. Can somebody please help. Just trying to get the title from the "stories" array from now and work my way up. What am I doing wrong??
$(document).ready(function(){
//Tell the function where the feed is located
$.getJSON("http://www.sfarts.org/sfarts/jftemp/sfartsJSONAPI.cfc?method=getTenStoriesfixed&returnformat=JSON#sthash.jmTrJRUN.dpuf", function(data) {
//Grab each of the "entries"
$.each(data.stories, function(i,item){
//Only grab "entries" 10 times
if(i < 10){
//Create the links and throw them
//into the body of the page
$("body").append("<p>"+item.title+"</p>");
}
});
});
});