Hi I am using jquery autocomplete from this webpage http://www.devbridge.com/projects/autocomplete/jquery/
the usage is pretty simple
var options = {
serviceUrl:'Autocomplete',
minChars:3,
deferRequestBy:200,
onSelect: function(value, data){
alert('You selected: ' + value + ', ' + data);
}
};
$('#someTextBox').autocomplete(options);
my question is if I can somehow know that onSelect was applied on someTextBox cos if I want to use this on more then one textBox it could be nice to have just one onSelect function.
Ok i just changed in jquery autocomplate code return function to this