title: Easiest way to toggle 2 classes in jQuery
body: <p>If I have class .A and class .B and want to switch in between on button click, what's a nice solution for that in jQuery? I still don't understand how <code>toggleClass()</code> works.</p>
  
  <p>Is there an inline solution to put it in <code>onclick=""</code> event?</p>