jsonp callback error
-
12-11-2019 - |
Question
I'm using firefox addon builder. Running this code errors with "callback is not defined"
function callback(data) {
window.alert(data.status);
}
$.ajax({
url: "http://apps.compete.com/sites/google.com/trended/rank/?apikey=210e634a0b3af972daa908a447c735c1&start_date=201112&end_date=201112&jsonp=?",
dataType: "jsonp",
jsonp: "jsonp",
jsonpCallback: "callback"
});
This is the api documentation: https://www.compete.com/developer/documentation/
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow