0

このページの提案を使用しています: http://jqueryui.com/autocomplete/ 以下のようなリストがあります

 var availableTags = [
  "ActionScript (bang ping)",
  "AppleScript (htore) ",
  "Asp (biga) ",
  "BASIC (single)",
  "Erlang (total lang) ",
  "Fortran (total tran)",
 ];

(...) 内の最初の文字を検索したい。例: 入力

b: ->show: ActionScript (bang ping)、Asp (biga)

s: ->show: BASIC (シングル)

to: -> show: Erlang (total lang) ,Fortran (total tran)

どうすればいいですか?ありがとう

4

1 に答える 1