trying to understand toggleClass()
<p>I have a simple code, which adds/removes classes:</p>

<pre><code> clearAndSetLogin: function (row) {

    if ($j('#leademails tr').is('.waslogin'))
        $j('#leademails tr.waslogin').removeClass('waslogin');

    $j('#leademails tr.islogin').removeClass('islogin').addClass('waslogin');     
    row.addClass('islogin');   
 },
</code></pre>

<p>can I do the same with toggleClass() ? if so, why that would be more efficient? Thanks!</p>
