I have DOM elements I'd like to exclude from a .click function by adding a class "noEdit" the problem I'm having is some of these elements have multiple classes ie:
<td class="firstCol noEdit"> // <-- wont work
<td class="noEdit"> // <-- works fine
And the jQuery:
$('td').click( function(){
if($(this).attr('class') != "noEdit"){
alert('do the function');
});
thoughts?