Functiondojox.data.dom.textContent

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

Implementation of the DOM Level 3 attribute; scan node for text This function can also update the text of a node by replacing all child content of the node.

Usage

function (/*Node*/ node, /*String?*/ text) (view source)
parametertypedescription
nodeNodeThe node to get the text off of or set the text on.
textStringOptional. Optional argument of the text to apply to the node.