title: Get value of Select box within some divs
body: <p>By <code>document.getElementByTagName[select][1].value;</code> I can get my value, what if I want to get value using <code>div</code>, like first <code>select</code> box value within a <code>div</code> </p>
  
  <pre><code>&lt;select&gt;
      &lt;option&gt;1&lt;/option&gt;
      &lt;option&gt;2&lt;/option&gt;
      &lt;option&gt;3&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;div id="firstdiv"&gt;
      &lt;select&gt;
          &lt;option&gt;1&lt;/option&gt;
          &lt;option&gt;2&lt;/option&gt;
          &lt;option&gt;3&lt;/option&gt;
      &lt;/select&gt;
  
      &lt;select&gt;
          &lt;option&gt;1&lt;/option&gt;
          &lt;option&gt;2&lt;/option&gt;
          &lt;option&gt;3&lt;/option&gt;
      &lt;/select&gt;
  &lt;/div&gt;
  </code></pre>