dojox.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.
parameter | type | description |
---|---|---|
node | Node | The node to get the text off of or set the text on. |
text | String | Optional. Optional argument of the text to apply to the node. |