Creates a secure sandbox from which scripts and HTML can be loaded that will only be able to access the provided element and it's descendants, the rest of the DOM and JS environment will not be accessible to the sandboxed scripts and HTML.
This function will create and return a sandbox object (see dojox.secure.__Sandbox) for the provided element.
Parameter | Type | Description |
---|---|---|
element | undefined | The DOM element to use as the container for the sandbox |
See the dojox/secure/sandbox reference documentation for more information.