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[1]);
                                         alert('Data return: ' + data[0]);
$.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 18:56, 3 June 2014