Functiondojo._destroyElement

<script src="../../js/dojo.js"></script>
defined in dojo/_base/html.js

removes node from its parent, clobbers it and all of its children.

Usage

function (/*String|DomNode*/ node) (view source)
parametertypedescription
nodeString|DomNodethe element to be destroyed, either as an ID or a reference