Remove and add class not working in FF
<pre><code>$('#resTable .wsButton').each(function () {
    if ($(this).hasClass("btPrimary")) {
        $(this).removeAttr("href");
        $(this).removeClass("btPrimary");
        $(this).addClass("btPrimaryPrint");
    }
});
</code></pre>

<p>this code is workng in IE but not in FF.
m i doing something wrong?</p>
