When using the jquery ui autocomplete combobox, can you set a default value for the combobox?
Based on Mathieu Steele answer, instead of using this:
input.val( $("#combobox option:selected").text());
I use this:
input.val( $(select).find("option:selected").text());
Widget is now reusable and DRY :)