var tp = new dijit.form.Form({ }); dojo.place(tp.domNode, content); var tp1 = new dijit.form.TextBox({ }); dojo.place(tp1.domNode, tp.domNode);