Posts Tagged ‘byId’

Read more

DOM nodes vs. Dojo widgets (dojo.byId vs. dijit.byId)

The headline pretty much reveals the secret. But let’s dive into the details anyway.
This cookie will try to explain the differences between dojo.byId(), dijit.byId(), dijit.byNode() and dijit.getEnclosingWidget(). And when you should use what and what you should expect them to return and where you can use them.
Read the rest of this entry »