asp.net.ph

Skip Navigation Links

collapse Method

DHTML Methods


DOM Level 2 Specification.

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

Syntax

TextRange.collapse ( [ bStart ] ) 
Parameters

bStart Optional. Value that indicates whether the insertion point will be moved to the beginning or end of the text range. 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-Win32® platforms. See the Microsoft® Knowledge Base for the latest information on Internet Explorer® cross-platform compatibility.

Applies To

TextRange

See Also

expand



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note