dhtmlxToolbar

Hello! I have a problem with Toolbar.

What event occurs, when user change the selection in select button item? How can i catch this event?



p.s.: sorry for english:)


When user click on the select button item “onClick” event occurs.


webBar.attachEvent(“onClick”, function(id){});


id- id of select button option



Not push the button. But drop down the options (items in select button) and select one of it.

When option selected inside select-box element inside toolbar it generates onClick event
It is not a native HTML event, but event of toolbar, which can be handled as

For
<?xml version="1.0"?>











webBar.attachEvent(“onClick”, function(id){
if (id==“today”) alert(“today element was selected in selectbox”);
});