detach/remove onselect handler dhtmlxtabbar

How can i detach or remove an onselecthandler from dhtmlxtabbar??



Timo

If you are using tabbar 2.1 you can use interface common for all components.

var event_id = tabbar.attachEvent(“onSelect”,custom_code)

tabbar.detachEvent(event_id); //detach event handler