Autocomplete combobox onchange event

Autocomplete combobox onchange event

Hi there,

I have the demo of the AutoComplete Combobox working on my site.  I am wondering how to trigger the onchange event of the underlying select when I choose a value in the autocomplete combobox.  I am using the exact code shown in the demo  http://jqueryui.com/autocomplete/#combobox when you click view source.

I'm guessing I have to trigger it in the below function but I'm not sure how,  Any suggestions?

  1. this._on(this.input, {
  2.                       autocompleteselect: function (event, ui) {
  3.                           ui.item.option.selected = true;
  4.                           this._trigger("select", event, {
  5.                               item: ui.item.option
  6.                           });
  7.                       },

  8.                       autocompletechange: "_removeIfInvalid"
  9.                   });