I have a jquery script that is used to show/hide values depending on another select box and although it works in Firefox and Chrome, it doesn't work in IE
var otherselectoption = $('#select1,#select2,#select3').find('option').filter(function(){
return $(this).attr('value') != "";
});
$('#selectlist').change(function(){
var selected = $(this).val();
otherselectoption.hide().filter(function(){
return $(this).attr('value').indexOf(selected) > -1;
}).show();
});
Link to demo here: http://jsfiddle.net/8g13wc5g/
Also, I would like it so each time i select the "---Filter---" option the rest of the bottom 3 select boxes reset to the default value to be blank with full set of options.