How do you set a default value with jquery auto complete combobox?

后端 未结 14 1925
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-28 19:01

When using the jquery ui autocomplete combobox, can you set a default value for the combobox?

14条回答
  •  时光取名叫无心
    2020-12-28 19:09

    You can achieve this by editing the following statement of the auto-completer:

    value = selected.val() ? selected.text() : "Select Institution";
    

提交回复
热议问题