Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Muhammad Jafer on Sep 18, 2009 18:21
open dhtmlx forum
DHTMLX close

Hi,
I have written an even on close in javscript following is the code.

dhxWins.attachEvent("onClose", function(win) {
        win.hide();
        win.setModal(false);
        // some other things;
        
});


My question is that as i have overriden the close even so i am using hide to hide the window not closing it. Can please tell me how to close window in this situation.
Answer posted by Alex (support) on Sep 21, 2009 08:26

Hello,

you can use close method

win.close();