title: Is there an "OR" condition in jquery selector strings?
body: <p>I would like to test an element object to see if it has either "classA" <em>or</em> "classB". For example, a click() event has returned an element in the event's <code>target</code> property. I want to test this element to see if has either of those two classes.</p>
  
  <pre><code>$("#mybutton").click(function($event) {
    var $el = $($event.target);
    if($el.is(".classA") || $el.is(".classB")) {
      // Can I do the above with 1 selector instead of two separate ones?
    }
  });
  </code></pre>
  
  <p>As above, using the <code>is()</code> function, I can check for each class individually, but I'm curious if I can do it with one function call instead of two?</p>