$(document).ready() not being called in IE

$(document).ready() not being called in IE

I have a very simple problem (seemingly).

In FireFox this works fine, it loads the tab. In IE, this doesn't work. The tab doesn't load. There is a javacsript error, but its unrelated. I'm wondering if that is blocking the script?


$(document).ready(function() {
setTab(0);
}


Any clue? Why won't IE cooperate?