avireni
4/13/2012 - 11:11 PM

Create A Nested Filter

Create A Nested Filter


//a filter allows you to reduce the set of matched elements
 //to those that match a given selector. In this case the query
 //removes anything which doesn't (:not) have (:has) a child with
 //class "selected" (.selected)

 .filter(":not(:has(.selected))");