A question about dhtmlxWindows

when i use dhtmlxWindows,I used the first time,it can works well,but when I used it at the second time ,I can not see the the content in the dhtmlxWindows !!I do not know why??please give me some advice!Thanks!

Whan you click close button, the window and its content is removed. Therefore, you can not attach this html object once again (it doesn’t exist).

You may try to hide window instead of deleting:

win.attachEvent(“onClose”,function(){
win.hide();
})

In this case you will need to attach content only once and then you may hide/show this window (methods hide() / show())