I want to filter multiple values from an event in jQuery.
At the moment I have:
.filter(":not(.element)")
How would I go about adding more things to filter? I've tried:
.filter(":not(.element, .another, .etc)")
and
.filter(":not(.element)").filter(":not(.another)").filter(":not(.etc)")
and
.filter(":not(.element),:not(.another),:not(.etc)")
With no luck. What do I need to do?
Thanks.
EDIT: Thanks for the answers - I've find another solution to my problem that avoids having to do what I've asked in the question, but evidently I wasn't doing something properly in my code since the solutions posted work. I will mark an answer as correct, many thanks.