GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for HTMLInputElement: selectionDirection property.

Developer library 6

` ` HTML attribute value

}; ``` #### Result 600 You can also use selectionStart and selectionEnd to get (or set) what range of characters in the control are currently selected, and selectionDirection to know which direction selection occurred in (or will be extended in, depending on your platform; see its documentation for an explanation). However, given that the text is obscured, the usefulness of these is somewhat limited. ## Validati

` ` HTML attribute value

<tr> <td><strong>IDL attributes</strong></td> <td> <code>list</code>, <code>selectionStart</code>, <code>selectionEnd</code>, <code>selectionDirection</code>, and <code>value</code> </td> </tr> <tr> <td><strong>DOM interface</strong></td> <td><p>HTMLInputElement</p></td> </tr> <tr> <td><strong>Implicit ARIA Role</strong></td> <td>

` ` HTML attribute value

/tr> <tr> <td><strong>IDL attributes</strong></td> <td> <code>list</code>, <code>value</code>, <code>selectionEnd</code>, <code>selectionDirection</code> </td> </tr> <tr> <td><strong>DOM interface</strong></td> <td><p>HTMLInputElement</p></td> </tr> <tr> <td><strong>Implicit ARIA Role</strong></td> <td> with no <code>list</code> att

Document: selectionchange event

on. Text inputs maintain independent selections within their internal text values, using character offsets inspected via `selectionStart`, `selectionEnd`, and `selectionDirection`. - The document-level `selectionchange` event fires directly on the Document and does not bubble. The text input `selectionchange` event fires on the input/textarea element and bubbles up the DOM tree. See the selectionchange event of `HTM

HTMLInputElement

This is ignored if the [`type`](/docs/Web/HTML/Reference/Elements/input#type) is `hidden`, `range`, `color`, `checkbox`, `radio`, `file`, or a button type. - selectionDirection - : A string that represents the direction in which selection occurred. Possible values are: `forward` (the selection was performed in the start-to-end direction of the current locale), `backward` (the opposite direction) or `none` (the di

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement

HTMLInputElement: selectionEnd property

Result Examples ## Specifications ## Browser compatibility ## See also - input - HTMLInputElement - HTMLInputElement.selectionStart - HTMLInputElement.selectionDirection - selectionchange event - HTMLInputElement.select() - HTMLInputElement.setSelectionRange() - HTMLInputElement.setRangeText() - HTMLTextAreaElement.selectionEnd - Selection - ::selection pseudo-element

JSON results · Services directory