Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 dojo 的新手 .. 谁能给我一个参考,说明如何以编程方式在 dojo 中构建一个表单,该表单应该包含标签和文本区域
提前致谢
我的建议是获取 Dojo API 的副本以便您查看它,但通常任何 dojo 表单都遵循以下格式:
var foo = new dijit.form.xxx(/* Object */ params, /* DomNode?|String? */ srcNodeRef);
例如:
foo = new dijit.form.Textarea({text: 'this is a text'}, "textnode"); foo.startup();
明白了。。看看这个
http://jsfiddle.net/user_13g/gask3