Return .filter jquery with 2 conditions -
Return .filter jquery with 2 conditions -
i want create filter 2 conditions:
item.values().course_setor == val; hasclass('january');
var updatelist = function(val){ if (val) { userlist.filter(function(item) { homecoming item.values().course_setor == val; }); } else { userlist.filter(); } in case, i'm doing 1 condition: return item.values().course_setor == val;
i want this:
return item.values().course_setor == val && item.values().another_filter == "something"; jquery filter
Comments
Post a Comment