Hi,
i am using free style type menu having dhtmlxmenu_alter.css.the following code i have written
i want to disable the menu item Exam having id ‘main_exam’.
but it is not performing by this code.
help
Try to call disableItem command after xml loading:
aMenuBar.loadXML(“Menu/_menu.xml”,function(){
aMenuBar.disableItem(document.getElementById(‘main_Exam’));
});