Disabling <select> option based on other <select> option
问题 How to disable multiple options in select, in case that exact options are selected in other selects. I found answered question for problem similar to mine on this link: http://jsfiddle.net/dZqEu/ jQuery code looks next: $(this).siblings('select').children('option').each(function() { if ( $(this).val() === value ) { $(this).attr('disabled', true).siblings().removeAttr('disabled'); } The problem is that this works only for 2 selects. I need total 3 selects which should disable possibility that