Required library edition:
Required library file: dhtmlxaccordion.js
iterator, calls a user-defined function n-times
dhxAcc.forEachItem(function(item){ // code here }); // or function doWithItem(item){ // code here }); dhxAcc.forEachItem(doWithItem);