This page is Almost Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

moveToElementText

Summary

Moves the text range so that the start and end positions of the range encompass the text in the given element.

Method of dom/TextRangedom/TextRange

Syntax

var result = textRange.moveToElementText(/* see parameter list */);

Parameters

element

Data-type
any

Object that specifies the element object to move to.

Return Value

Returns an object of type NumberNumber

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Notes

Remarks

Attributions