go
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 11/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.