Question and Answer for Programmer @ Omkarmin

Insert Your Advertisement Here

How to : ASP.net Jquery Ajax Autocomplete Data 

Additional Details

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 web service??

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
 

Asked in ASP.NET - 30 days ago

Tags: How to : ASP.net Jquery Ajax Autocomplete Data 

Answer now
Report abuse
Rate this : 0 0


Insert Your Advertisement Here

Ask a Question

Ask now

Categories



Insert Your Advertisement Here

© 2010 Question and Answer for Programmer @ Omkarmin Ask Questions. Get Answers. All rights reserved.

Search