how to toggle addClass and removeClass?
<p>my code:</p>

<pre><code>&lt;a href=# onclick="obj.addClass('fliph'); return false;"&gt;toggle&lt;/a&gt;
</code></pre>

<p>i want click <strong>toggle</strong> to <code>obj.addClass('fliph')</code>,then click again run <code>obj.removeClass('fliph')</code>.</p>

<p>how to fix my code?</p>

<p>thanks all! :)</p>
