DOMText methods

In addition to the methods it inherits from the DOMCharacterData interface, the DOMText interface supports one method, splitText.

splitText(longOffset) 
Returns  DOMText 
Description  Breaks the DOMText node into two DOMText nodes at the specified offset, keeping both in the tree as siblings. The current node then contains only the content up to the longOffset point. The new DOMText node, which is inserted as the next sibling of this node, contains all the content at and after the longOffset point. Not implemented. 
Usage 
JScript  DOMText_object.splitText(longOffset);  
VBScript  DOMText_object.splitText(longOffset) 


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

Copyright © SoftQuad Software Inc. 1999