title: JQuery sibling selector with multiple types
body: <p>For instance if I have the following:</p>
  
  <pre><code>var siblingIcon = $(elem).siblings('i');
  </code></pre>
  
  <p>That looks at an element and selects all the <code>&lt;i&gt;</code> elements on the same level. How can I add to that that if <code>siblingIcon</code> doesn't contain anything (because no <code>&lt;i&gt;</code> elements were found, to rather look for <code>&lt;span&gt;</code> elements?</p>
  
  <p>so..</p>
  
  <pre><code>var siblingIcon = $(elem).siblings('i') || $(elem).siblings('span');
  </code></pre>