jquery autocomplete this.source is not a function error

后端 未结 7 1398
心在旅途
心在旅途 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条回答
  •  臣服心动
    2020-12-11 00:55

    If you were trying to use autocomplete from http://www.devbridge.com/projects/autocomplete/jquery/#demo, it now collides with the autocomplete method in jQuery UI. I had the same problem and later noticed that I could just use the jQuery UI implementation.

    (NOTE: It appears that this page's documentation is wrong: http://docs.jquery.com/Plugins/Autocomplete#Setup)

提交回复
热议问题