Quicksand plugin using multiple checkboxes filters
I am not able to pass multiple datatype when more than one checkbox is selected.
Please help me out here.
if ($filterType == 'All') {
// assign all li items to the $filteredData var when
// the 'All' filter option is clicked
var $filteredData = $data.find('li[data-type]');
}
else {
// find all li elements that have our required $filterType
// values for the data-type element
var $filteredData = $data.find('li[data-type="' + $filterType + '"]');
}
Thanks in advance :)