First of all, there are two ways to get the value:
1:$('#com').combobox('getValue')
2:$('#com').combobox('getText')
I won’t say the difference.
As a selection trigger event, after comparison, it was found:
onselect: After the event is triggered, what is obtained is the value ofbeforechange
onsuncess: What is obtained is the value ofafterchange
The above is the detailed content of easyui-combox: Comparison of onselect and onchange events. For more information, please follow other related articles on the PHP Chinese website!