How to create a checkboxes to filter - sample and minor bug
How to create a checkboxes to filter - sample and minor bug
Hi everyone,
After scouring on the net, I am able to use checkboxes for filtering.
The only problem I have is that the filtering is set to OR and not an AND search. I suspect it has to do with afnFiltering.push. I am not a Javascript expert and I think the check for now is for any condition is meant to filter and display.
Can someone help me change the coding such that afnFiltering check that the data meets all the checked criteria and not just one?
http://jsfiddle.net/ckctam34/o9L99u8m/4/
Thanks!
Cliff