简体   繁体   中英

dijit.byId on DOJO 1.7.2

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.

Here is my code @jsfiddle

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM