JQuery onchange Dropdown does not hide/show element
<p>I have a dropdown box (Combobox). Everytime I make a new selection a  table element must show or hide depending on my selection. Now my problem is it's working in Firefox but not in IE.  The dropdown has an onchange event which calls the JS function below. The tr element has the ID #mainItem.</p>

<pre><code>function toggleMainPageOption(){
                $("#mainItem").toggle();
}
</code></pre>

<p>Why does this not work in IE? Am I doing something wrong?</p>
