Filter based on combination of multiple select and single select elements
问题 I want to filter (show/hide) elements by class. I want to have lets say 5 filters working together. <select id='filter4'>...</select> <select id='filter5'>...</select> <select id='filter6'>...</select> <select id='filter7'>...</select> and <select id='filter6' multiple>...</select> jquery: jQuery(document).ready(function ($) { $("select").on("change", function () { var filterVal = $("select#filter4").val(); var filterVal2 = $("select#filter5").val(); var filterVal3 = $("select#filter6").val()