.autocomplete is not a function Error

后端 未结 15 2311
抹茶落季
抹茶落季 2020-11-27 18:19

below is my My Code




        
15条回答
  •  时光取名叫无心
    2020-11-27 19:04

    This is embarrassing but it held me up for a while so I figured I would post it here.

    I did not have jQuery UI installed, only classic jQuery, which does not include autocomplete (apparently). Adding the following tags enabled autocomplete via jQuery UI.

    
    

    and

    
    

    Of note, the HTML value autocomplete="off" for either the form or form block will prevent the brower from performing the method .autocomplete(), but will not block the jQuery UI function.

提交回复
热议问题