I used 'lazy : true ' parameter in the menu setup. code for menu setup
menu=DynarchMenu.setup('menu',{electric: 10000, context: true, lazy : true});
When I use lazy parameter, I get javascript error
menu.items.somesubmenu is null or not an object.
Here is the scenario what I am doing,
My page contains lot of div which are dynamically tranformed using xml and xsl.
I enable or diable menus based on some permissions. So when I use the lazy parameter, i think the menu is not getting loaded and I am trying to disable or enable some of the items which are not yet loaded.
Any idea?