Required library edition:
Required library file: dhtmlxaccordion.js
attaches an event handler to accordion
You can attach several handlers to the same event, and all of them will be executed.
dhxAcc.attachEvent("onActive", function(item){ // code here }); // or function doOnActive(item){ // code here }); dhxAcc.attachEvent("onActive", doOnActive);