view source
Dynamic Autocomplete Options with AJAX, Javascript, JQuery and PHP
There are times when you prompt your user with two autocomplete input boxes where one depends on the information entered into the first box. For example, the user selects a sport “Basketball” and the second box you choose a team “Milwaukee Bucks”, another could be the first box you select “Football” and the second box autocompletes only NFL football teams.
Advertisement