I'm following from the livedocs and try to use registry.byId
( dijit/registry
has required)
but the result is undefined
I'm confused how is it wrong.
I've updated your fiddle and it seems to work :)
jsFiddle updated and working You forgot to add a dojo.ready
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.