how can I attach an onchange function in a jqueryUI combobox? Here is my code:
$(\".cmbBox\").combobox({
change:function(){
alert($(this).val()
IMHO, an even simpler way to detect the user has changed the combobox (without having to tweak the jQuery UI autocomplete combobox source code) is as follows; this works for me. It's repetitious if you've got lots of them, though surely there's a way to refactor. Thanks to all who have studied and explained this widget at length, here and elsewhere.
$("#theComboBox").combobox({
select: function (event, ui) {
alert("the select event has fired!");
}
}
);