HBCMS更多的中文手册参考:

collapse Method

DHTML文档教程

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

dhtml语法

TextRange.collapse( [bStart])

Parameters

bStart Optional. Booleanthat 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-Microsoft® Win32® platforms.

是否符合公共标准

There is no public standard that applies to this method.

Applies To

TextRange

更多语法参考

expand