I have multiple instances of chosen selector being used in a page. Totally 5 instances as you can see in the code(Fiddle link enclosed below).
I wanted a system as in, when an option is selected from the first dropdown-selector, that particular option should be disabled in all the following dropdown-selectors. This system should work for all the 5 dropdown-selectors.
Can this system be achieved? I am able to get the values on click/selection of an option. But not able to create a perfect logic.
I have updated the code on https://jsfiddle.net/ugsn74v1/15/
<div>
<div class="space">
1.
<select class="chosen rank-select form-control" style="width: 350px;">
<option value="-1" selected disabled>Please Select</option>
<option value="1">Item 01</option>
<option value="2">Item 02</option>
<option value="3">Item 03</option>
<option value="4">Item 04</option>
<option value="5">Item 05</option>
</select>
</div>
</div>
I was able to achieve this system with a little help from my friend!
Updated Solution : https://jsfiddle.net/ugsn74v1/277/