setData (DOMCharacterData - JavaScript) Sets the character data of a node. Defined inDOMCharacterData SyntaxsetData(str:string) : void