DELETE ME

dojox.data.dom.removeChildren

Status:Draft
Version:1.0
Project owner:?-
Available:since V?

This function removes all the child nodes from the supplied parent node.

Introduction

On occasion we want to remove all the children from a given node in a DOM object. This function takes the parent node and removes all such children. The count of the children removed is returned.

Usage

var foo:Integer = dojox.data.dom.removeChildren(node:Element);