W3cubDocs

/Dojo

dojo/_base/kernel.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

dojoClick

Defined by: dojox/mobile/common

© 2005–2017 JS Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/_base/kernel.doc.html