Widget:CJP3: Difference between revisions

Jump to navigation Jump to search
Christopher Popma (talk | contribs)
No edit summary
Christopher Popma (talk | contribs)
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);
                                         var props = .getOwnPropertyNames(data.query)
                                         alert($.getOwnPropertyNames(data.query));
                                        alert(props);
$.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//

Revision as of 19:09, 3 June 2014