replaceAdjacentText method
[This documentation is preliminary and is subject to change.]
Replaces the text adjacent to the element.
Syntax
BSTR retVal = object.replaceAdjacentText(where, newText);
Standards information
There are no standards that apply here.
Parameters
where [in]
Type: BSTR
A BSTR that specifies where to locate the replacement text, using one of the following values.
beforeBegin
Replaces text immediately before the element.
afterBegin
Replaces text after the start of the element, but before all other content in the element.
beforeEnd
Replaces text immediately before the end of the element, but after all other content in the element.
afterEnd
Replaces text immediately after the end of the element.
newText [in]
Type: BSTR
A BSTR that specifies the replacement text.
See also
Reference
IHTMLElement2::getAdjacentText
IHTMLElement2::insertAdjacentElement
Build date: 6/12/2012