HTMLSelectElement: autocomplete property - Web APIs | MDN
Value
A string representing the value of the autocomplete attribute ("on", "off", or a <token-list>) or the empty string ("") if unspecified.
Examples
js
const selectElement = document.getElementById("favorite-fruit");
console.log(textArea.autocomplete);
Specifications
| Specification |
|---|
| HTML # dom-fe-autocomplete |
Browser compatibility
See also
<select><option>- HTML
autocompleteattribute - ARIA
aria-autocompleteattribute - Turning off autocompletion