Inserts the given text into the element at the specified location.
HRESULT retVal = object.insertAdjacentText(where, text);
- where [in]
BSTR that specifies where to insert the text, using one of the following values:
Inserts the text immediately before the element.
Inserts the text after the start of the element but before all other content in the element.
Inserts the text immediately before the end of the element but after all other content in the element.
Inserts the text immediately after the end of the element.
- text [in]
BSTR that specifies the text to insert.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
There are no standards that apply here.
The text inserted into the element is plain text
You cannot insert text while the document loads. Wait for the HTMLFrameSiteEvents::onload event to fire before attempting to call this method.
Build date: 11/12/2012