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.
function toggleMainPageOption(){
$("#mainItem").toggle();
}
Why does this not work in IE? Am I doing something wrong?