title: Toggle multiple element classes with jQuery
body: <p>I need to be able to toggle class when I click an element. It works fine for that element:</p>
  
  <pre><code>$(".main").click(function() {
      $(this).toggleClass("classA").toggleClass("classB");
  });
  </code></pre>
  
  <p>But I would like to add to it to toggle classes for all elements on the page that have a particular class, say "togToo". For those elements I need to toggle between "classC" and "classD".</p>
  
  <p>I'm almost certain there's a way to combine that into one click...</p>
  
  <p><em><strong>^^^ UPDATED ABOVE ^^^</em></strong></p>