HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

autocorrect

Description

The autocorrect of HTMLElement for JS returns the autocorrection behavior of the element. Note that for autocapitalize-and-autocorrect inheriting elements that inherit their state from a form element, this will return the autocorrection behavior of the form element, but for an element in an editable region, this will not return the autocorrection behavior of the editing host (unless this element is, in fact, the editing host).

Can be set, updates the autocorrect content attribute (and thereby changes the autocorrection behavior of the element).

Syntax

element.autocorrect [ = value ]

Examples

1 · get

2 · set