(1)单选赋值setValue

$('#Id').combobox('setValue','key')   

    1)单选取值getValue

       $('#Id').combobox(‘getValue

(2)多选赋值setValues

 $('#Id').combobox('setValues','key1,key2,key3'.split(','))    

    1) 多选取值getValues

      $('#Id').combobox(‘getValues

 

注意单选、多选只是多一个少一个 ‘S’ 的事。

EasyUI combobox 多选及赋值

 

相关文章:

  • 2021-08-09
  • 2021-11-02
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-25
  • 2022-01-06
  • 2022-12-23
  • 2021-11-02
  • 2022-12-23
  • 2021-07-14
相关资源
相似解决方案