Widget:CJP3: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
$.getJSON(jsonURL, function (data) { | $.getJSON(jsonURL, function (data) { | ||
alert('Success!'); | alert('Success!'); | ||
alert('Data return: ' + data.query); | alert('Data return: ' + data.query.results); | ||
alert($.getOwnPropertyNames(data.query)); | |||
$.each(data.query.results, function (index, value) { | $.each(data.query.results, function (index, value) { | ||
//Assign variables the values returned from the function// | //Assign variables the values returned from the function// |