Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このコントロールには次のイベントがありますselect。
select
select( event, ui )
uiオブジェクトから選択した値を取得するにはどうすればよいですか
ui
http://api.jqueryui.com/autocomplete/#event-select
選択した値は、オブジェクトのメンバーvalueによって公開されている適切な名前のプロパティから取得できます。itemui
value
item
select: function(event, ui) { console.log(ui.item.value); }