I am using this as an example to achieve what I want
ArcGIS API for JavaScript Sandbox
The code dynamically retrieves the list in the dropdown from the feature layer. How do I modify i so that I can dynamically retrieve values for the next dropdown based on the previous one. Basically, I want to retrieve values of another field using select by attribute and populate the next dropdown with the same.
I tried whatever I could but I could not get it to work.
Requesting for some pointers