今天在研究Jquery easy UI combobox 获取值的问题,一般都是通过$('#XX').combobox('getValue')只能获取到 ID,查过资料没有GetText,可是有SetText,通过查看类库发现:
jquery.combobox.js中 $.fn.combobox.defaults = $.extent({},$.fn.combo.defaults......
因此,通过实例发现如果想过去Text的值,可以通过$('#xx').combo('getText')获取的到
另外:
combobox 提供两个事件方法
onSelect:function(item)
{}
onChange:function (a,b)
{}