DOMCharacterData::insertData
Insert a string at the specified UTF-8 codepoint offset
&reftitle.description;
public boolDOMCharacterData::insertData
intoffset
stringdata
Inserts string data at position offset.
&reftitle.parameters;
offset
The character offset at which to insert.
data
The string to insert.
&reftitle.returnvalues;
&return.success;
&reftitle.errors;
May throw a DOMException with the
following error codes:
DOM_INDEX_SIZE_ERR
Raised if offset is negative or greater than the
number of UTF-8 codepoints in data.
&reftitle.seealso;
DOMCharacterData::appendData
DOMCharacterData::deleteData
DOMCharacterData::replaceData
DOMCharacterData::substringData