MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

collapseToStart Redirect 1

Summary

Collapses the selection to the start of the first range in the selection.  If the content of the selection is focused and editable, the caret will blink there.

Syntax

sel.collapseToStart()

Parameters

None.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy
 Last updated by: Sheppy,