Using JQuery Autocomplete on a traditional HTML form.
Trying submit the form (the old-fashioned way) when a selection is made.
But the input box gets filled
select: function( event, ui ) { if(ui.item){ $(event.target).val(ui.item.value); } $(event.target.form).submit(); });