25.41. CharacterData: common functionality for Text and Comment nodesDOM Level 1 Core: Node CharacterData25.41.1. SubinterfacesComment, Text 25.41.2. Properties
25.41.3. Methods
25.41.4. DescriptionCharacterData is the superinterface for Text and Comment nodes. Documents never contain CharacterData nodes; they contain only Text and Comment nodes. Since both of these node types have similar functionality, however, that functionality has been defined here so that both Text and Comment can inherit it. Note that it is not necessary to use the string-manipulation methods defined by this interface. The data property is an ordinary JavaScript string, and you can manipulate it with the + operator for string concatenation and with various String and RegExp methods. 25.41.5. See AlsoComment, Text |