取值:
var ToNodes = $("#txtTONodesID").combobox('getValues').join(",").replace(/^,/, "");
赋值:
var nodes = node.TONodesID.split(',');
$("#txtTONodesID").combobox('setValues', nodes);
初始化:
$.get("../WFSetting/WFNodesHandler.ashx?handlerType=GetToNodes", { version: version, IID: IID }, function (data) {
data = eval(data); if (data != null && data != '') { $("#txtTONodesID").combobox({ data: data, valueField: 'Nid', textField: 'Nname', multiple: true, panelHeight: 'auto' }); } });