DHTML Methods
Replaces the adjacent text character.
object.replaceAdjacentText ( sWhere, sReplaceText )
sWhere |
Required. Specifies the position where the text to be replaced is located. This position can be one of the following:
beforeBegin |
Inserts the text immediately before the element. |
afterBegin |
Inserts the text after the start of the element but before all other content in the element. |
beforeEnd |
Inserts the text immediately before the end of the element but after all other content in the element. |
afterEnd |
Inserts the text immediately after the end of the element. | |
sReplaceText |
Required. Specifies the replacement text. |