$("#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,誰能給個樣例。需要動態資料的樣例
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/207438.html
標籤:ASP.NET
上一篇:vs2017除錯模式下報錯:System.Runtime.InteropServices.SEHException (0x80004005): 外部組件發生例外
