Categories | Question details Back To List | ||
detach Window object 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. Answer posted by Support on Jan 27, 2009 09:08 If you need not old object you can just use MyUniversialWindow.window("createNewWorld").attachObject("updateExistingWorldDiv"); It will destroy old object automatically. |