title: onChange event on select box does nothing
body: <p>I have a select input that should call a Javascript function when an option is chosen.</p>
  
  <p>I'm using this code to do that:</p>
  
  <pre><code>&lt;select id="main-category" name="main-category" class="dropdown" tabindex="2" onChange="showSubcats(this.value);"&gt;
  &lt;option value=""&gt;Please Select&lt;/option&gt;
  &lt;option value="1"&gt;First Option&lt;/option&gt;
  &lt;option value="2"&gt;Second Option&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>However, the <code>showSubcats()</code> function is never called when the selected option is changed. I tried testing it, I even tried calling a non-existent function to see if I'll get a Javascript error - nothing, the function is never called. What am I doing wrong?</p>
  
  <p>It doesn't matter what the function is, let's say it's just <code>document.getElementById("some_id").innerHTML = "test"</code> which I have in there right now for testing purposes.</p>
  
  <p>What am I doing wrong?</p>