Context Menu

Hi Team,



Is it possible to add items to menu using javascript instead of javascript?



I am using the code,



filterMenu=new dhtmlXContextMenuObject(‘120’,0,’’,’’);





filterMenu.menu.loadXML(’/filter_menu.xml’);



I don’t want to give input through xml but want to use javascript to feed xml.



Can you please tell how to do it?



Thanks



- Agile

If you are using dhtmlxMenu 1.0 - please check attached sample
If you are using dhtmlxMenu 2.0 - dhtmlx.com/docs/products/dhtmlxM … 4769249000

1224769276.zip (24.3 KB)