1
我无法找到选择适当的事件变化:JQ-UI组合框,相同的样品上http://jqueryui.com/demos/autocomplete/#comboboxJS jQuery UI的组合框中选择更改事件
我如何订阅相关事件?
我无法找到选择适当的事件变化:JQ-UI组合框,相同的样品上http://jqueryui.com/demos/autocomplete/#comboboxJS jQuery UI的组合框中选择更改事件
我如何订阅相关事件?
我改变了这个:
select: function(event, ui) {
ui.item.option.selected = true;
self._trigger("selected", event, {
item: ui.item.option
});
到
select: function(event, ui) {
ui.item.option.selected = true;
self._trigger("selected", event, {
item: ui.item.option
});
self.element.trigger("change",event,{
item: ui.item.option
});
这应该工作得很好。 –