combobox选择多值,form表单提交时,相当于调用getValue()方法。
要想取得多值:combobox('getValues')。
因此:
var val = $('#'+dn).combobox('getValues');
//先得到getValues值
$('#'+dn).combobox('setValue',val); //再赋值给getValue
combobox选择多值,form表单提交时,相当于调用getValue()方法。
要想取得多值:combobox('getValues')。
因此:
var val = $('#'+dn).combobox('getValues');
//先得到getValues值
$('#'+dn).combobox('setValue',val); //再赋值给getValue