Stefan Kilp [sk-software] schrieb:
Hi Jörn,
maybe you could give me a more detailed hint:
Try this:
$("#ac_werke").autocomplete("imagesearch.php", {
delay: 250,
width: 300,
minChars:2,
formatItem: false,
selectFirst:true,
max: 7,
highlight: false,
formatResult: function(row) {
return row[1];
}
})
.result(function(event, data, formatted) {
console.log(arguments);
$("#ac_werk_id").value(data[2]);
});
Whenever I'm not sure about the arguments passed I output them using
Firebug's console.
--
Jörn Zaefferer
http://bassistance.de