Functiondojox.data.dom.removeChildren

dojo.require("dojox.data.dom");
defined in dojox/data/dom.js

removes all children from node and returns the count of children removed. The children nodes are not destroyed. Be sure to call dojo._destroyElement on them after they are not used anymore.

Usage

function (node) (view source)
parametertypedescription
node The node to remove all the children from.