摘要:
1、dojo.create1.create a node; 2.set attributes on it; 3.place it in the DOM.dojo.create(/*String|DOMNode*/ tag, //要创建的节点(“div”、“a”、“script”)或者已存在的节点 ... 阅读全文
摘要:
dojo.hasClass(/*DomNode*/node or DomIdstring,/*String*/classString)//如果节点中有特定的类,那么返回ture,否则返回falsedojo.addClass(/*DomNode*/node or DomIdstring,/*Strin... 阅读全文