This is probably pretty simple.
I want to select all elements of a given class "thisClass", except where the id is of a given id "thisId".
i.e. something equivalent to (where -/minus implies remove):
$(".thisClass"-"#thisId").doAction();
This is probably pretty simple.
I want to select all elements of a given class "thisClass", except where the id is of a given id "thisId".
i.e. something equivalent to (where -/minus implies remove):
$(".thisClass"-"#thisId").doAction();
$(".thisClass[id!='thisId'").doAction();
Documentation on selectors: http://api.jquery.com/category/selectors/