aspxtreme

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



Books and more ...

Contents
HTML Elements / DOM Objects
HTML Element Attributes
CSS Attributes
DOM Object Properties
DOM-compliant Events Reference
DOM Methods Reference
DOM Collections Reference
 


Suggested Reading



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 Rey Nuñez All rights reserved.

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

You can help support aspxtreme