Ajax call populate Typeahead Bootstrap

后端 未结 3 537
慢半拍i
慢半拍i 2020-12-28 18:02

What I\'m trying to do is to get a json object via Ajax and populate the Bootstrap Typeahead with just one kind of value.

Here is my code:

nameTypeHe         


        
3条回答
  •  清歌不尽
    2020-12-28 18:49

    Checkout this gist. Does autocomplete, deals with fast typers, and caches

    https://gist.github.com/mrgcohen/5062352

提交回复
热议问题