dhtmlxTabbar from HTML and setOnSelectHandler

Is there a problem with creating a TabBar from HTML and calling setOnSelectHandler() under IE? The following page works as expected under FireFox/Chrome/etc., but when I view the page in IE I get the error: “Object doesn’t support this property or method.”















    



TabBar Test











    


        


            


                small

            


        


    


    


        


            


                medium


                medium


                medium


                medium


                medium


            


        


    




    


        


            


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


                big


            


        


    








Problem caused by order of initialization events, in IE , code of bodyOnLoad called before tabbar initialization code.
To make it correct for all browsers you can use

<div id=“tabbar1” class=“dhtmlxTabBar” oninit=“bodyOnLoad()” …