call click function method but not if it has another class associated
<p>I have the following code:</p>

<pre><code> $('#commentContainer').delegate('div.comment-vote div.vote', 'click', function () {

//etc
}
</code></pre>

<p>I want this to get called but not when the div.vote also has a class "unauthenticated"</p>

<p>how can i do that?</p>

<pre><code>&lt;div class="vote"&gt;&lt;/div&gt;//this one when clicked call click function in delegate

&lt;div class="vote unauthenticated"&gt;&lt;/div&gt;//this one do nothing.
</code></pre>
