I have this script: JsFiddle
If you type something you will get Google suggestions. I would like to get the value (on keyUp) of the first li item (child) with jQuery and then do some function.
I tried this:
select: function(e, ui){
$("#term").val(ui.first.item.value);
}
I think what you’re aiming for is to use the
openproperty on the autocomplete field:Here’s an example.