_base/window.doc
dojo/_base/window.doc
Summary
Alias for the current document. 'doc' can be modified for temporary context shifting. See also withDoc().
Use this rather than referring to 'window.document' to ensure your code runs correctly in managed contexts.
Examples
Example 1
n.appendChild(dojo.doc.createElement('div'));
Properties
documentElement
Defined by: dojox/gfx/_base