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

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -