DHTMLX Docs & Samples Explorer

detachEvent(id)

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

removes an event handler

  • id - event's id
    var id = menu.attachEvent("onClick", function(){});
    // detaching event
    menu.detachEvent(id);