I have better suggestion for children than the one presented in that
article.
DOMdom way: { 'div': [ 'span', 'span' ] }
my suggestion: "div (span,span)"

The ( and ) are for grouping. This allows for multiple children, making text
easy:
$("body").domAppend("p (#this, b #is, #fun)");

~Sean

Reply via email to