下拉提示
$("#txtport").autocomplete("/A/Ports", {
width: 220,
max: 10,
highlight: false,
multiple: true,
multipleSeparator: " ",
scroll: true,
minChars:1,
scrollHeight: 300
});
/A/Ports,请求地址返回的是["c++","chars","country","cao"]json数据
为何txtport输入后提示的是所有json数据,而不是符合要求的数据,第一次接触autocomplete,谁能给个样例。需要动态数据的样例