I'm working with the autocomplete
jQuery plugin, but I have faced two main problems.
- Calling a function within the
autocomplete
function - Getting the value of
textbox
to pass with function
Html
<input id="txtDemo" type="text" />
Js
$("#txtDemo").autocomplete({
source: availableTags
});
This is my function, Value is value of textbox
function Demo (value)
{
//code for getting value from code behind in the form of array
}