Required library edition: Required library file: dhtmlxmenu.js
iterator, calls a user handler for each item
menu.forEachItem(function(itemId){ // code here }); // or function doWithItem(itemId){ // code here } menu.forEachItem(doWithItem);