const formElement = document.getElementById("name");
console.log(formElement.autocomplete);HTMLFormElement: autocomplete property / notebook
HTMLFormElement: autocomplete property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.