更新时间:2022-12-08 17:54:28
答案是自动完成的第一个参数应该是一个包含源"属性的对象.这有效
Answer is that the first parameter of the autocomplete should be an object containing the "source" property. This works
var fakedata = ['test1','test2','test3','test4','ietsanders'];
$("#omschrijving").autocomplete({source:fakedata});