Categories | Question details Back To List | ||
Dhtmlx tabbar onSelect event on the active tab? I'm trying to attach an event to my tabbar that fires whenever a tab is clicked. setOnSelectHandler works but this event isn't fired when the user clicks the label of the currently selected tab, only the unselected ones. Is there any way to raise an event when the currently active tab is 'selected' ? Answer posted by Support on Nov 04, 2008 01:59 Behavior can be changed only by code modification dhtmlxtabbar.js , line 900 dhtmlXTabBar.prototype._setTabActive=function(tab,mode){ if (tab==this._lastActive) return false; //this line need to be commented to allow event on already selected tab Answer posted by Sander - Estate Internet B.V. on Nov 04, 2008 02:09 It's working perfectly now, many thanks! |