title: Switch and Select in JavaScript
body: <p>I'm new in JavaScript.. Here is my question.. I have drop down list :</p>
  
  <pre><code>&lt;div class="spanNav-row" id="spanNav-row"&gt;
    &lt;select name="timeDropList"&gt;
  
      &lt;option value="6"&gt;6&lt;/option&gt;
      &lt;option value="10"&gt;10&lt;/option&gt;
      &lt;option value="15"&gt;15&lt;/option&gt;
      &lt;option value="30"&gt;30&lt;/option&gt;
      &lt;option value="60" selected&gt;60&lt;/option&gt;
      &lt;option value="Vac"&gt;Vacation&lt;/option&gt;
  
    &lt;/select&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>and I have a switch :</p>
  
  <pre><code>switch () {
  
    case 6:
      break;
    case 10:
      break;
    case 15:
      break;
    case 30:
      break;
    case 60:
      break;
    default:
      break;
  }
  </code></pre>
  
  <p>How do you transfer values of drop down list to the switch?</p>