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

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -