标签: javascript dojo
I'm following from the livedocs并尝试使用registry.byId(dijit/registry需要)
registry.byId
dijit/registry
但结果是undefined我很困惑这是怎么回事。
undefined
Here is my code @jsfiddle
答案 0 :(得分:3)
我已经更新了你的小提琴,它似乎工作:) jsFiddle updated and working 你忘了添加dojo.ready