dijit.byId returns a dijit object with some id.
dojo.byId is the equivalent of $() . To get / set it in HTML use
dojo.byId("my_id").innerHTML dojo.byId("my_id").innerHTML = some_text`
Note that dojo.byId is just a wrapper around document.getElementById , so you can use all the basic functions.
Gabi purcaru
source share