insertData

HTML (DHTML)

insertData Method

Internet Development Index

Inserts a new character string in the object at a specified offset.

Syntax

object.insertData(nOffset, sString)

Parameters

nOffset Required. Integer that specifies the offset from which to start.
sString Required. String that specifies the new character string.

Return Value

No return value.

Standards Information

This method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

COMMENT, TextNode