This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

replaceAdjacentText

Method of dom/HTMLBaseElementdom/HTMLBaseElement

Syntax

var object = object.replaceAdjacentText(where, newText);

Parameters

where

Data-type
BSTR

A String that specifies where to locate the replacement text, using one of the following values.

newText

Data-type
BSTR

A String that specifies the replacement text.

Return Value

Returns an object of type DOM NodeDOM Node

String

A pointer to a String returning the old text.

Syntax

Standards information

There are no standards that apply here.

Attributions