collapse Method

DHTML, HTML, & CSS

 
Click to return to the DHTML, HTML & CSS home page    
close Method     compareEndPoints Method     DHTML Methods    

collapse Method


Moves the insertion point to the beginning or end of the current range.

Syntax

TextRange.collapse([bStart])

Parameters

bStart Optional. Boolean that specifies one of the following values:
trueDefault. Moves the insertion point to the beginning of the text range.
falseMoves the insertion point to the end of the text range.

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

See Also

expand


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.