I am using jQuery auto completer and getting the values from a jsp.When i specify some source i can use the following code to get the selected value.
$("#autocomplete").autocomplete({
source: source,
select: function (event, ui) {
alert(ui.item.value);
}
});
When i use like this
$("#query").autocomplete("list.jsp");
How i can use the select event.Thanks in advance....