CharacterData.replaceData() (Method)

Replace a section of text in the character data node with some new text.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0
JavaScript syntax:-myCharacterData.replaceData(anOffset, aCount, aString)
Argument list:anOffsetThe location where the replacement starts
aCountThe length of data to be replaced
aStringThe new data to insert