Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
HTML and CSS
Methods
 collapse Method

  Switch on low bandwidth view
collapse Method

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

Syntax

object.collapse( [bStart])

Parameters

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

Return Value

No return value.

Remarks

This feature might not be available on non-Microsoft Win32 platforms.

Standards Information

There is no public standard that applies to this method.

Applies To

TextRange, TextRange Constructor

See Also

expand
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker