addchild - dingojs/dingo.js GitHub Wiki
addchild(id,type,args);
id(string)- the id of the element. Since this is a child element, it will be refrenced as a child.
type(string/func)- the type of the element.
args(arr)- an associative array of properties and their values to apply to the element
var test=addelem('test','div',{style:{"background-color":"blue"});
test.addchild('child','h1',{innerHTML:"Hello World!"};
test.child.style.color='red';//changes the color