dojo._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.
parameter | type | description |
---|---|---|
node | String|DomNode | the element to be destroyed, either as an ID or a reference |