title: jquery each div problem
body: <p>I need to obtain all the divs with a given id but the jquery each function only obtain the first one.</p>
  
  <p>Example:</p>
  
  <pre><code>&lt;div id="#historial"&gt;some html code&lt;/div&gt;
  &lt;div id="#historial"&gt;some html code&lt;/div&gt;
  &lt;div id="#historial"&gt;some html code&lt;/div&gt;
  &lt;div id="#historial"&gt;some html code&lt;/div&gt;
  </code></pre>
  
  <p>script:</p>
  
  <pre><code>$("#historial").each(function() {
  alert("one div");
  });
  </code></pre>
  
  <p>if I pass a anchor o a id + anchor ej $("#lala a") it's works ok.</p>
  
  <p>What's wrong?</p>
  
  <p>BR</p>