title: count div elements with the same id JQUERY
body: <p>I created a more than one <strong>DIV</strong> with the same ID. I want to keep track of the number of <strong>DIV's</strong> by using <strong>JQUERY</strong>. This one does not seem to work. </p>
  
  <pre><code>var divid = "123456";
  var count_id_len = $("#parentdiv").find("#"+divid).length;
  console.log(count_id_len);
  </code></pre>
  
  <p>The result is always <strong>1</strong> even though there is more than one of them. </p>