title: Get multiple elements by a list of id's with jQuery
body: <p>I have that in my html</p>
  
  <pre><code>&lt;input type="checkbox" id="1234"&gt;
  &lt;input type="checkbox" id="2345"&gt;
  &lt;input type="checkbox" id="3456"&gt;
  &lt;input type="checkbox" id="4567"&gt;
  &lt;input type="checkbox" id="5678"&gt;
  </code></pre>
  
  <p>And an list of id <code>1234 2345 3456</code> or <code>#1234 #2345 #3456</code></p>
  
  <p>I want to get all the element of the list whose id is in the list of id</p>
  
  <p>I try <code>$(":checkbox").attr('id', items_id);</code> and <code>var items_cb = $(":checkbox[id='items_id']");</code> where items_id is the list of item, but it doesn't work.</p>