title: How to pass option into HTML select
body: <p>I want different behaviors depending on which <code>&lt;option&gt;</code> element is selected:</p>
  
  <pre><code>&lt;select name="colorSelector" onchange="handleColorChange();"&gt;
      &lt;option value=""&gt;- select -&lt;/option&gt;
      &lt;option value="1"&gt;Red&lt;/option&gt;
      &lt;option value="2"&gt;Blue&lt;/option&gt;
  &lt;/select&gt;
  
  function handleColorChange() {
      // Behave different depending on which &lt;option&gt; was just selected
  }
  </code></pre>
  
  <p>What do I need to pass into the <code>handleColorChange()</code> method from inside the <code>onchange</code> listener in order to accomplish this?</p>