DHTMLX Docs & Samples Explorer

onShow

fires when the pop-up window shows

myPop.attachEvent("onShow",function(id){
      alert("The pop-up window is visible"); 
})

Parameters of the callback function:

  • id - the id of the item that triggers the event. Has sense if dhtmlxPopup attached to a toolbar or form