jquery easyui combobox 控件支持单选和多选

1、获取选中的值

$('#comboboxlist').combobox('getValue');  //单选时

$('#comboboxlist').combobox('getValues'); //多选时

2、赋值

$('#comboboxlist').combobox('setValue', ‘北京’); 

相关文章:

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