title: How to select all elements with same name inside some specific div using jQuery
body: <p>We have two divs:
  How to select all the input field as an array with name="divText" that are inside "div2".</p>
  
  <p>//Body of div1</p>
  
  <pre><code>&lt;div id="div1&gt;
  &lt;input type="text" name="divText" value="v1" /&gt;
  &lt;input type="text" name="divText" value="v2"/&gt;
  &lt;input type="text" name="divText" value="v3"/&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>//Body of div2 </p>
  
  <pre><code>&lt;div id="div2&gt;
  &lt;input type="text" name="divText" value="q1" /&gt;
  &lt;input type="text" name="divText" value="q2"/&gt;
  &lt;input type="text" name="divText" value="q3"/&gt;
  &lt;/div&gt;
  </code></pre>