This was a topic covered extensively in the ArcObjects forums, but I can't find anything on it for ArcGIS API -Javascript. I want to allow the user a variety of search options, and my thought was a dropdown combobox (options: city, county, parcelID). Then depending on the user selection, the second combobox would populate with the fields from the selected layer.
Example:
ComboBox1: City Selected
ComboBox2 populates Milwaukee, Chicago, New York
Much appreciated any advice.
Bob