I found a way to do it. $("#Filter_Dropdown").change(function () { var str = ""; var orig_str = ""; orig_str = $("#Filter_Dropdown option:selected").text(); str = '.' + orig_str;
$(".food_planner tbody tr").show(); if (str != '.Show All') { $(".food_planner tbody tr").hide(); $("[EMAIL PROTECTED]" + orig_str + "]:checked").parent().parent().parent().show(); } });