moveToElementText Method

DHTML, HTML, & CSS

moveToElementText Method


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

Syntax

TextRange.moveToElementText(oElement)

Parameters

oElementRequired. Object that specifies the element object to move to.

Return Value

No return value.

Remarks

This feature might not be available on non-Win32® platforms. For the latest information about Internet Explorer cross-platform compatibility, see article q172976Internet Link Non-MSDN link in the Microsoft Knowledge Base.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
Version data is listed when the mouse hovers over a link, or the link has focus.
TextRange

Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.