I think this is what you are looking for.
$('select').change(function() {
var select_elements = $('select')
$.each(select_elements, function(i,elem){
var sel_values = [];
// Selecting and Iterating on Sibling Selects
var siblis = $(elem).siblings('select')
$.each(siblis, function(i, sibli){
if($(sibli).val()!='No Match'){
sel_values.push($(sibli).val());
}
});
// Iterating on Options of Select
$(this).children('option').each(function() {
$(this).removeAttr('disabled');
if($.inArray($(this).val(), sel_values) !== -1){
$(this).attr('disabled', true);
}
});
});
});
If All selects has the values from 1 to 6,
If select1 value --> 1,
and select2 value --> 3 (1 is disabled)
then in select3 value --> 5 (1,3 are disabled)
After selecting select3,
In select1 --> 1 (3,5 disabled)
In select2 --> 3 (1,5 disabled)
In select3 --> 5 (1,3 disabled)
Here is the jsfiddle: http://jsfiddle.net/prem_nagalla1/rY4n3/
Hope it helps :)