Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. HTMLFormElement
  4. autocomplete

HTMLFormElement: autocomplete property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨July 2015⁩.

Theautocomplete property of theHTMLFormElement interface indicates whether the value of the form's controls can be automatically completed by the browser. It reflects the<form> element'sautocomplete attribute.

Value

A string; the value"off" if explicitly set to"off", and otherwise always"on".

Examples

js
const formElement = document.getElementById("name");console.log(formElement.autocomplete);

Specifications

Specification
HTML
# dom-form-autocomplete

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp