Widget:PillIdentifier: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 163: | Line 163: | ||
var jsonURL = "http://www.wikidoc.org/api.php?action=ask&query="+queryParameters+printoutRequests+"&format=json"; | var jsonURL = "http://www.wikidoc.org/api.php?action=ask&query="+queryParameters+printoutRequests+"&format=json"; | ||
$.getJSON(jsonURL, function (data) { | $.getJSON(jsonURL, function (data) { | ||
console.log(data); | |||
console.log(data.query.results); | |||
if(data > 0){ | if(data > 0){ | ||
$.each(data.query.results, function(ind, val) { | $.each(data.query.results, function(ind, val) { |