Object
Alias for the current document. 'dojo.doc' can be modified for temporary context shifting. Also see dojo.withDoc().
Refer to dojo.doc rather than referring to 'window.document' to ensure your code runs correctly in managed contexts.
n.appendChild(dojo.doc.createElement('div'));
Function
Return the body element of the document return the body object associated with dojo.doc
Node
Function
changes the behavior of many core Dojo functions that deal with namespace and DOM lookup, changing them to work in a new global context (e.g., an iframe). The varibles dojo.global and dojo.doc are modified as a result of calling this function and the result of `dojo.body()` likewise differs.
Function
Invoke callback with globalObject as dojo.global and globalObject.document as dojo.doc.
Invoke callback with globalObject as dojo.global and globalObject.document as dojo.doc. If provided, globalObject will be executed in the context of object thisObject When callback() returns or throws an error, the dojo.global and dojo.doc will be restored to its previous state.
Function
Invoke callback with documentObject as dojo.doc.
Invoke callback with documentObject as dojo.doc. If provided, callback will be executed in the context of object thisObject When callback() returns or throws an error, the dojo.doc will be restored to its previous state.
Object