adding ., removing class with overflow:auto

adding ., removing class with overflow:auto

I've got a div that on load has a class applid which has the attribute overflow:auto.so the dive is about 100px height with the sroll bar with the content exceeds the height.

Now when I click on a button i'm wanting the whole table to expand, so what i've done is used Jquery to remove the class like so:

$("div.testHolder").removeClass("tableCollapse");

the problem i'm having is that in IE6 its locking up the browser when I click the button.

any ideas what this could be or of a working alternative I can try ?