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) |
Copyright © SoftQuad Software Inc. 1999