title: OnClick Dropdown works in FireFox but not Chrome or IE?
body: <p>The following code works perfectly in Firefox, but not in IE or Chrome... Any ideas why?</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  function display_div(show){
     document.getElementById('passenger1').style.display = "none";
     document.getElementById('passenger2').style.display = "none";
     document.getElementById('passenger3').style.display = "none";
     document.getElementById(show).style.display = "block";
  }
  &lt;/script&gt;
  
  &lt;select name="#" id="#"&gt;
        &lt;option selected="selected"&gt; &lt;/option&gt;
        &lt;option onClick="display_div('passenger1');"&gt;1&lt;/option&gt;
        &lt;option onClick="display_div('passenger2');"&gt;2&lt;/option&gt;
        &lt;option onClick="display_div('passenger3');"&gt;3&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;div id="passenger1" style="display:none;"&gt; hey, 1 works &lt;/div&gt;
  &lt;div id="passenger2" style="display:none;"&gt; hey, 2 works &lt;/div&gt;
  &lt;div id="passenger3" style="display:none;"&gt; hey, 3 works &lt;/div&gt;
  </code></pre>