Here Fiddle:http://jsfiddle.net/abhiklpm/ZEDR9/5/
Here I have Implemented Multiple checkbox with filter, But the filter is getting overriden on clicking the second checkbox
EX: If i click Shipping all the shipping will come in below table But at the same time if i click 1GB The intersection of shipping and 1GB should only come but shipping options getting overriden.
like If i click Shipping & 1GB Only (product) Memory1 only should come. Help me out in this
**Script**
$("input:checkbox").click(function () {
var showAll = true;
$('tr').not('.first').hide();
$('input[type=checkbox]').each(function () {
if ($(this)[0].checked) {
showAll = false;
var status = $(this).attr('rel');
var value = $(this).val();
$('td.' + status + '[rel="' + value + '"]').parent('tr').show();
}
});
if(showAll){
$('tr').show();
}
});