I would like to maintain the state between two dependent drop downs, drpOptions and drpOptionValues, and access the value combinations when performing an action such as pressing a button.
Let's say
drpOptions has the values : Size, Color, Material
and
drpOptionValues has the dependent values for Size : Small,Medium,Large, Color : Red, Green, Blue and Material : Cotton,Wood,Stone.
If I pick Size from drpOptions and Medium from drpOptionValues, then pick Color = Red and a Material = Wood and then go back to Size in drpOptions I would like the drpOptionValues drop down to have the value Medium.
And then when I click a button I'd like to gather all the drpOptions/drpOptionValues value pairs.
Any 2 Cents welcome on how to best accomplish this!