Callback not triggered for autocomplete select change

Callback not triggered for autocomplete select change

I'm trying to make an autocomplete select from  http://jqueryui.com/demos/autocomplete/#combobox, and I have a progressive enhancement dropdown menu which works in terms of apparent UI behavior but does not trigger the callback behavior I'm attempting.

I have:

        $(".autocomplete").bind("autocompletechange",
            update_autocomplete);
        $(".autocomplete").bind("autocompleteselect",
            update_autocomplete);

update_autocomplete() is a function that takes two arguments and, at present, has an alert() inserted in the beginning; I'm not seeing the alert getting called for any way of picking an item from the UI.

Advice or diagnostics/code I can post? When someone picks a dropdown menu item via autocomplete, I want an Ajax call registering the choice.

Jonathan Hayward