I borrowed the code from http://jqueryui.com/demos/autocomplete/#combobox but don’t know how to get the value of the selected item.
Hoping for a simple straight answer rather than reading their docs for the next 2 hours.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
ok, that’s not correct. do it this way:
in there do a console.log($(ui).val()) or something like it
then you should be able to do either:
$(‘#combobox’).text() or .val() to get its content.