Export (0) Print
Expand All
go
Expand Minimize

replaceWholeText method

Replaces the text of the current object.

Document Object Model (DOM) Level 3 Core Specification, Section 1.2Internet Explorer 9

 

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

TextNode

 

 

Show:
© 2014 Microsoft