Widget:PillIdentifier: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 164: | Line 164: | ||
$.getJSON(jsonURL, function (data) { | $.getJSON(jsonURL, function (data) { | ||
console.log(data.length); | console.log(data.length); | ||
someThing = data. | someThing = data.length | ||
if(data | if(data.length > 0){ | ||
$.each(data.query.results, function(ind, val) { | $.each(data.query.results, function(ind, val) { | ||
///////////////////////////////////////////////////////////////////////// | ///////////////////////////////////////////////////////////////////////// |