I am trying to submit a form when an item is selected from the menu. I set class on the search form and I am using the event select for it which is found here: http://docs.jquery.com/UI/Autocomplete#event-select
Now, when you select an item using the keyboard (UP and Down), it works. But if you select an item using the mouse, it gives you the value which is previously typed.
Check this screenr: http://www.screenr.com/7T0s
This is what I use for submitting:
$("#searchform-input").autocomplete({
select: function (a, b) {
$(".searchform1").submit()
}
});