DHTMLX Docs & Samples Explorer

unload()

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxmenu.js

unloads menu from page (destructor)

    var menu = new dhtmlXMenuObject();
    ...
    // unloading menu
    menu.unload();
    menu = null;