更新时间:2022-04-08 21:53:27
您可能会使用jQueryUI的自动完成破解行为类似的东西,例如:
You could probably use jQueryUI's autocomplete to hack something up which behaves similarly, for example:
var fruits = ["apples", "oranges"];
$("input").autocomplete({
source: fruits,
minLength: 0
}).autocomplete("search", "");
Select preset from list or type something: <input type="text"/>