jquery autocomplete this.source is not a function error

后端 未结 7 1378
心在旅途
心在旅途 2020-12-11 00:04

I\'ve implemented autocomplete on an input field, but the box does not show up and firebug returns \"this.source is not a function\". I\'ve used autocomplete on other fields

7条回答
  •  萌比男神i
    2020-12-11 01:03

    Had similar problem for tagedit/autocomplete. It seems you also want to disable the autocomplete. Setting the source to false avoids these errors.

    Solution:

    options.autocompleteOptions.source = false;
    

提交回复
热议问题