BootStrap select2 动态改变值的方法
2017-02-15
63
1,selec2动态赋值var temp=JSON.stringify({ id: "1|所有停车场", name: "所有停车场" });$("#e_pid").attr("value", tempP);$("#e_pid").select2({placeholder: "查找停车场名称(多选)",language: "zh-CN",minimumInputLength: 1,allowClear: true,multiple: true,ajax: {...