I am wondering how to grab the selected item\'s text value on jquery autocomplete.
I have initialised jquery as following :
$(document).ready(function ()
// list of clients $( "#client" ).autocomplete({ source: "lib/getClientList.php", minLength: 2, select: function(event, ui) { alert(ui.item.value); } })
;
The ui.item.value is the reference that jquery utilizes to assign a value to the input