title: Select all elements with same id
body: <p>I know that element id should be unique but which selector should be used when needed</p>
  
  <p><code>$("*#x1")</code>, <code>$("[id=x1]")</code>, or something else?</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;div id="x1"&gt;A&lt;/div&gt;
  &lt;div id="x1"&gt;B&lt;/div&gt;
  &lt;div id="x2"&gt;C&lt;/div&gt;
  </code></pre>
  
  <p><a href="http://jsfiddle.net/2VHBC/2/" rel="noreferrer">http://jsfiddle.net/2VHBC/2/</a></p>