sen*_*ale 0 jquery autocomplete
http://docs.jquery.com/Plugins/autocomplete
可以自动完成字符串中间的检查单词.如果我想"C"我可以得到"核心",但如果我写"重新"我将不会得到"核心"......
您必须为contains设置选项.具体来说,设置'matchContains:true'.该演示页提供使用"matchContains"下面的例子:
$("#suggest14").autocomplete(cities, {
matchContains: true,
minChars: 0
});
Run Code Online (Sandbox Code Playgroud)