replaceWholeText method
Replaces the text of the current object.
![]() ![]() |
Syntax
var retval = TextNode.replaceWholeText(bstrText);Parameters
- bstrText [in]
-
Type: BSTR
The text that replaces the existing text.
Return value
Type: IHTMLDOMNode
A TextNode object that received the replacement text. If the replaced text was empty, this value will be null. If the current node is read-only, a new TextNode object is returned. If the current node is not read-only, the same object is returned.
Standards information
Remarks
Windows Internet Explorer 9. The replaceWholeText method is supported only when webpages are displayed in IE9 Standards mode.
See also
Send comments about this topic to Microsoft
Build date: 11/27/2012

