[Dojo-interest] How to add a dom node into html pag by Dojo?

hawk gao gaohawk at gmail.com
Wed Aug 20 08:17:34 UTC 2008


as you said, I need to create a node by document.createNode(), then
appendChild it to a parent node. right?

2008/8/20 Peter Svensson <psvensson at gmail.com>

> If you have the DOM node, you'll just use its usual functions, like
> appendChild(x), et.c.  Dojo does not (actually does explicitly not) extend
> the DOM in any manner.
>
> Cheers,
> PS
>
> On Wed, Aug 20, 2008 at 10:04 AM, hawk gao <gaohawk at gmail.com> wrote:
>
>> Hi, all,
>> I'm new in Dojo. I only found dojo.byId() to get node, but didn't find any
>> way to add node.
>> Thanks
>> Hawk
>>
>> _______________________________________________
>> FAQ: http://dojotoolkit.org/support/faq
>> Book: http://dojotoolkit.org/docs/book
>> Forums: http://dojotoolkit.org/forum
>> Dojo-interest at dojotoolkit.org<http://dojotoolkit.org/forumDojo-interest@dojotoolkit.org>
>> http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest
>>
>>
>
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest at dojotoolkit.org<http://dojotoolkit.org/forumDojo-interest@dojotoolkit.org>
> http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://turtle.dojotoolkit.org/pipermail/dojo-interest/attachments/20080820/d48edb78/attachment.html 


More information about the Dojo-interest mailing list