I’ve searched on the forum how to set an active class on click of an item in the menu and I found only old posts where solutions doesn’t work anymore :
menu.setOnClickHandler(function(id){
menu.getItem(id).topNod.style= …
menu.getItem(id).textTag.style= …
});
If it’s possible I would like to apply the selected class (dhtmlxMenu_dhx_web_TopLevel_Item_Selected) to the item onclick.