Link to home
Start Free TrialLog in
Avatar of maqskywalker
maqskywalker

asked on

Cascading jquery autocomplete

I'm using jquery ui autocomplete
I want to have a drop down list on my page also. So my DropDown list will display countries.
If I select USA from the drop down list then the autocomplete should only show suggestions for states in USA.

Anyone know a good link to a good example where a drop down list filters the autocomplete suggestions?
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Take a look at this PAQ
https://www.experts-exchange.com/questions/28980758/selecting-a-category-and-selecting-subcategories.html
Working sample here

Does not use auto complete - but auto populates linked dropdowns based on a previous selection - are you specifically looking for an auto complete version?
ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of maqskywalker
maqskywalker

ASKER

The autocomplete I'm using is this widget:

https://jqueryui.com/autocomplete/