Hey, Is it possible to change the "data source"- the autocomplete from this jquery code:
$(".textbox").autocomplete(
"**autocomplete.php**",
{
delay: 10,
minChars: 2,
matchSubset: 1,
matchContains: 1,
cacheLength: 10,
onItemSelect: selectItem,
onFindValue: findValue,
formatItem: formatItem,
autoFill: true
}
);
to get data from webservice?? -
url: "SearchService.asmx/Search",
data: "{'text':'" + request.term + "'}",
dataType: "json",
type: "POST",
contentType: "application/json; charset=utf-8",
I dont know how to change that autocomplete to a webservice..
thanks