I need to show user all autocomplete choices, no matter what text he already wrote in the field? Maybe i need some other plugin?
$('#addressSearch').autocomplete("search", "");
That doesn’t work.
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.
There are two scenarios:
You’re using a local data source. This is easy to accomplish in that case:
You’re using a remote data source.
Either way you need to pass a function to the
sourceargument and avoid filtering the results.Here’s an example with a local data source: http://jsfiddle.net/andrewwhitaker/e9t5Y/