title: Simple way to get element by id within a div tag?
body: <p>Please forgive me if I repeat the question.</p>
  
  <p>I have HTML　that all elements inside a div tag has different id, suppose I have already get the reference to the div, is there any simple way to get the element by its id without iterate all elements with that div?</p>
  
  <p>here is my sample html:</p>
  
  <pre><code>&lt;div id="div1" &gt;
      &lt;input type="text" id="edit1" /&gt;
      &lt;input type="text" id="edit2" /&gt;
  &lt;/div&gt;
  &lt;div id="div2" &gt;
      &lt;input type="text" id="edit1" /&gt;
      &lt;input type="text" id="edit2" /&gt;
  &lt;/div&gt;
  </code></pre>