DropDownList Dependencies and Selections Using jQuery
<p>I have 6 dropdownlist as shown below: </p>

<pre><code>option1
option2

option3
option4

option5
option6
</code></pre>

<p>When I change option1 I want to change option3 and option5. When I change option2 I want to change option4 and option6. These list can be in any number. Here is another example: </p>

<pre><code>option1
option2
option3

option4
option5
option6

option7
option8
option9
</code></pre>

<p>Now when I change option1 then option4 and option7 will change. When I chanage option5 then option2 and option8 will change. When I change option9 then option6 and option3 will change. I think u can see the pattern. </p>

<p>I solved part of the problem by assigning same classes to related options. But sometimes the data is coming from database and I cannot assign classes since I don't know which options are in group. </p>

<p>If I move all these options in an array then how can I make dependencies between them?</p>
