How do i use JQuery Autocomplete for multiple words

前端 未结 4 510
旧时难觅i
旧时难觅i 2021-02-04 09:27

I have an autocomplete field and am just wondering how can i use it for multiple words? When i type the first word it works perfect, but when i space and type in the second word

4条回答
  •  星月不相逢
    2021-02-04 10:19

    If you are using the "bassistance" version of Autocomplete, it's built in. But if you are using the jQuery UI version, there is an example here:

    http://jqueryui.com/demos/autocomplete/#multiple

提交回复
热议问题