Coordinated Dropdown (combobox)
I would like to have two dojo drop downs (comboboxes). When a value is selected from the first drop down, I would like the second drop down list to be refreshed based on the selection from the first drop down.
For example, if I select Hawaii from the first drop down (states), then the second drop down is populated to show all the counties for Hawaii. If I select California, then the second drop down shows all the counties for California.
I understand that I need to add a topic for drop down 1 and register drop down 2 as a listener, but I can't figure out what to put in the listener to make the list get refreshed.
Does anyone know how to do this?