Element.getAdjacentText() (Method)

Obtains the text adjacent to the object.

Availability:

JScript - 5.0
Internet Explorer - 5.0
Property/method value type:String primitive
JavaScript syntax:IEmyElement.getAdjacentText(aRelativePosition)
Argument list:aRelativePositionAn indication of where the new HTML is to be placed

Using the same locational techniques as insertAdjacentText(), this method retrieves the text adjacent to the element.

See also:Element.insertAdjacentHTML(), Element.insertAdjacentText(), Element.replaceAdjacentText()