Required library edition:
Required library file: dhtmlxaccordion.js
attaches an event handler to accordion
Several handlers can be attached to one and the same event, and all of them will be executed.
Note: the names of the events are case-insensitive.
dhxAcc.attachEvent("onActive", function(item){ // code here }); // or function doOnActive(item){ // code here }); dhxAcc.attachEvent("onActive", doOnActive);