jquery 获取easyui combobox选中的值

jquery 获取easyui combobox选中的值

$('#comboboxlist').combobox(' getText ');  所有选中的值对


$('#comboboxlist').combobox('getValue'); 只能获取一个值。

$('#comboboxlist').combobox('getValues'); 获取选中的所有值   取出的值的类型为:String[]   


传参用:$('#comboboxlist').combobox('getValues').toString(); 

猜你喜欢

转载自blog.csdn.net/zhufengyan521521/article/details/80074500