jQuery: select all elements of a given class, except for a particular Id
169
This is probably pretty simple.
I want to select all elements of a given class thisClass
, except where the id is thisId
.
i.e. something equivalent to (where -/minus implies remove):
$(".thisClass"-"#thisId").doAction();