PDA

View Full Version : document.createElement



Bogdan0x400
31 Dec 2010, 1:20 AM
How do you create an Element that has a DOM element which doesn't have a parent? Like document.createElement method. I've found stuff like
CurrentColumn = BusinessCardMainContent_Hidden.createChild("<div></div>",false,false); , but it creates a nested element.
I want to create an Element, populate it with information and then decide where I want to append it.

steffenk
31 Dec 2010, 3:54 AM
http://dev.sencha.com/deploy/dev/docs/?class=Ext.DomHelper