I have a delegate:
$('body').delegate('li.doc-tab', 'click', function (event) {
//Stuff
});
This works perfectly for li.doc-tabs but there is a condition
I would like to add which is if the li has an id of
doc-tab-selected
Is it possible to negate an li if it has this id even though it still has the specified class?
I think this should do it: