That doesn't "select" the one item tho, which would cause the SELECT: event to fire. And even tho it populates the text input field, I cant hit the Enter key, nor arrow down key, to fire the Select: event.
I have code like this, except when the result is a single item I still have to use the mouse to click the single item, so the "select:" code runs:
$("#name").autocomplete({
source: 'blah.php',
minLength:3,
select: function(evt,ui) {
$('#anotherField').val(ui.item.lastName);
}
Any clues?
Pat