It would be nice if you could please give the generated divs in the toolbar unique id attributes so that if I needed to use document.getElementId against them (as I do in the case of trying to make an accessibility hack to the Toolbar in order to be able to access the onclick handler) I would be able to. Please, please, please add accessibility.
Toolbar already have onClick event. You may use:
docs.dhtmlx.com/doku.php?id=dhtm … t_handling
In order to access item div you may use the following approach:
var elem = toolbar.objPull[toolbar.idPrefix+id].obj;