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

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.