use removeClass() on selected class
<p>I have a DOM element with 2 classes attached.</p>

<p>I wanted to know if I can call the element with one of the classes, and remove the other class attached.</p>

<p>Let's say this is the code:</p>

<pre><code>&lt;span class="leave stay"&gt; a &lt;/span&gt;
</code></pre>

<p>and the jQuery is :</p>

<pre><code>$('.stay').removeClass('leave');   
</code></pre>

<p>It seems like it is impossible.</p>

<p>Do you have an idea why it ain't working?</p>

<p>Thanks,
robi </p>
