AvailabilityDOM Level 1 Core Synopsisvoid replaceData(unsigned long offset, unsigned long count, String arg) throws DOMException; Arguments
ThrowsThis method may throw a DOMException with one of the following code values in the following circumstances:
DescriptionThis method replaces count characters starting at position offset with the contents of the string arg. If the sum of offset and count is greater than the length of the Text or Comment node, all characters from offset on are replaced. |