The DOMText interface

The DOMText interface represents a text string. It inherits the DOMCharacterData interface (and via DOMCharacterData, DOMNode), and has one method of its own, splitText.

DOMText nodes have no child nodes. To obtain the text represented by a DOMText node, use the data property.

DOMText methods


Right arrow
Next Topic
Left arrow
Previous Topic
Table of contents
Table of Contents

Copyright © SoftQuad Software Inc. 1999