Setting outputup jsonpworks for me.
See an example query for an output structure.
Explanation below.
The code is HERE .
$("#wd6450").autocomplete({
source: function(request, response) {
$.ajax({
url: "http://ff.search.yahoo.com/gossip",
dataType: "jsonp",
data: {
"output": "jsonp",
"command": request.term
},
success: function(data) {
var suggestions = [];
$.each(data.gossip.results, function(i, val) {
suggestions.push(val.key);
});
response(suggestions);
}
});
}
});
Explanation:
dataType: "jsonp", jQuery , JSONP. output: "fxjson", URL- this, , JSONP, .
, output: "jsonp", this, , , output JSONP - .
Amazon. $.ajax() this. Amazon webservice JSONP, callback .
, : Webservices Yahoo JSONP, ?output=jsonp URL-, $.ajax() output: "jsonp". Amazon webservice - . webservice, .
JSONP .