title: The simplest way to create a set of jquery object s
body: <p>Yeah, the way I was doing is</p>
  
  <pre><code>   A.add(B).add(C).add(D).show()
  </code></pre>
  
  <p>While A,B,C,D are jQuery objects. I wonder if there's such a simpler way to do this out there?
  I've tried all the following approaches, but no results:</p>
  
  <pre><code>$(A,B,C,D).show()
  A.add(B,C,D).show()
  </code></pre>
  
  <p>All suggestions are welcome!</p>
  
  <hr>
  
  <p>Addition to clarify the question:</p>
  
  <p>The part ".show()" is just for demonstration. I just wanted to know how could I create a set of JQuery object like $('p') create a set of p tag.</p>
  
  <p>In my real case, I used</p>
  
  <pre><code>$([A,B,C,D]).each(fn)
  </code></pre>
  
  <p>instead of .show() (And I wonder why this worked?)
  It's obviously that</p>
  
  <pre><code>$([A,B,C,D]).each(fn)
  $('p').each(fn)
  </code></pre>
  
  <p>both work. But </p>
  
  <pre><code>$([A,B,C,D]).show()  //--doesn't work
  $('p').show()        //--works
  </code></pre>
  
  <p>Just the second line works. Does anyone know the diffrence between them ?
  (I just thought they're the same, then made a bit of tangle in my question)</p>