How can I target elements whose classes don't contain the ID of this element?
<p>Specifically, I want to say: <em>for elements whose class value doesn't contain this element's ID value, execute this function</em>.</p>

<p>For example, clicking <code>#foo</code> will execute <code>fadeOut()</code> on the list items whose classes don't contain <code>.foo</code> in the following HTML:</p>

<pre><code>&lt;button id="foo"&gt;foo&lt;/button&gt;
&lt;button id="bar"&gt;bar&lt;/button&gt;
&lt;button id="baz"&gt;baz&lt;/button&gt;
&lt;ul&gt;
    &lt;li class="foo"&gt;Lorem&lt;/li&gt;
    &lt;li class="foo bar"&gt;Ipsum&lt;/li&gt;
    &lt;li class="baz"&gt;Dolor&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>So upon clicking <code>#foo</code>, the last list item should disappear, since the first two both contain the <code>.foo</code> class.</p>
