サンプルコード
<input type="text" id="langs">
var langs = ['ja','en','cn','fr','sp']; $('#langs').autocomplete({ source: langs, });
参考サイト
Autocomplete | jQuery UI
https://jqueryui.com/autocomplete/
<input type="text" id="langs">
var langs = ['ja','en','cn','fr','sp']; $('#langs').autocomplete({ source: langs, });
Autocomplete | jQuery UI
https://jqueryui.com/autocomplete/