Javascript Reference
Categories: text

javascript text splitText( )

@March 15, 2008, 1:22 a.m.
splitText( )Firefox/Netscape/NN 6 IE 5(Mac)/6(Win) Chrome/Safari/DOM 1  



Divides the current text node into two sibling text nodes; otherwise, doesn't disturb the text.

  • Positive integer specifying the zero-based character point before which the split occurs.
Returned Value

Reference to the second text node.

Powered by Linode.