I am using modal dhtmlXWindows(). I am attaching an object to this window:
MyUniversialWindow.window(“createNewWorld”).attachObject(“createNewWorldDiv”);
At some point, I would like to “detach” this object and attach new one, for example:
MyUniverseWindow.window(“createNewWorld”).detachObject(“createNewWorldDiv”);
MyUniversialWindow.window(“createNewWorld”).attachObject(“updateExistingWorldDiv”);
Is there a way to implement that?
Thank you.
If you need not old object you can just use
MyUniversialWindow.window(“createNewWorld”).attachObject(“updateExistingWorldDiv”);
It will destroy old object automatically.