DHTMLX Docs & Samples Explorer

detachEvent(eventId)

detaches the specified event handler

  • eventId - (string) the event id
var  myPop = new dhtmlXPopup(...);
var evId = myPop.attachEvent("onContentClick", function(){ alert("You have just clicked on the op-up content")});
myPop.detachEvent(evId);

Related resources