title: How to getElementByID in a specific DIV block (JS or JQUery)
body: <p>I just wanted a fast/easy/simple way to check for existing ID on a specific element (div in this case)..</p>
  
  <p>Can't seem to find code sample for this..im using jquery but i dont think i need to do jquery on this one, just basic getElement.. but i need to isolate the search inside a div block.. because the id does exist in other elements on the page but i need to know if it exist in a specific area/div.</p>
  
  <p>so instead of just</p>
  
  <pre><code>document.getElementById(target_id);
  </code></pre>
  
  <p>i need something like:</p>
  
  <pre><code>divName.getElementById(target_id);
  </code></pre>
  
  <p>or</p>
  
  <pre><code>$("document.divName").getElementById(target_id);
  </code></pre>
  
  <p>or</p>
  
  <pre><code>$(".divName").document.getElementById(target_id);
  </code></pre>
  
  <p>Can't seem to find something that works.</p>