Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Timo Bons on Apr 28, 2009 08:42
open dhtmlx forum
detach/remove onselect handler dhtmlxtabbar

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

Timo
Answer posted by Support on Apr 28, 2009 14:00
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