jquery autocomplete this.source is not a function error

后端 未结 7 1413
心在旅途
心在旅途 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 01:01

    in my case I had a second import of jquery which I didn't realize. Something like:

    
    
     
    
    // More code
    
    
    

    So be sure to import the autocomplete script after you initialized jquery.

提交回复
热议问题