Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

selectionStart

selectionStart
Type: integer
Get or set the beginning of the selected portion of the field's text. Use in conjuction with the selectionEnd property. The value specifies the index of the first selected character.

Document Tags and Contributors

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