1.dojo.create 1.create a node; 2.set attributes on it; 3.place it in the DOM. dojo.create(/*String|DOMNode*/ tag, //要创建的节点(“div”.“a”.“script”)或者已存在的节点 /*Object?*/ attrs, //节点属性对象 /*String|DOMNode*?/refNode, //参考节点,默认为doc /*String?*/pos //放置…
In this tutorial, you'll learn about how to use Dojo to manipulate the DOM in a simple, cross-browser way. Using basic DOM knowledge and only a few Dojo functions, you will be able to efficiently create, read, update and delete elements in the page o…
DOM Manipulation You might be seeing a trend here if you have gotten this far in the tutorial, in that not only has Dojo abandoned its dependency on the global namespace and adopted some new patterns, it has also broken out some of "core" functi…