I am using vault with dhmlxwindows like so(removed some code):
I am initializing window from a button. This works fine first time but if i close the window then try to reinitialize the ‘vault1’ id does not exist anymore. Is there a better way to attach vault to a window.
content is deleted if window closes. So, you can replace the necessary html object before closing window. And when window opens, this object can be attached again: