jQuery combobox/autocomplete but editable

前端 未结 4 814
野趣味
野趣味 2021-02-11 00:50

I\'m using the jQuery Autocomplete but I need it to be editable. What I mean is that if a value isn\'t in the list, I need to capture the value they entered. Using the example

4条回答
  •  别那么骄傲
    2021-02-11 01:26

    In your

    source: function(request, response)
    {
    

    you can access the request.term = what was typed.

提交回复
热议问题