spellcheck
Property of dom/HTMLElementdom/HTMLElement
Syntax
var result = element.spellcheck;
element.spellcheck = value;
Notes
Remarks
Spellcheck is only enabled by default for textArea elements, and elements with the contentEditable = true attribute for Internet Explorer 10. Spellcheck is off by default for input type=text.
You can enable spellchecking by adding the spellcheck=true attribute to the root or ancestor markup of the content (including the <html> element), with no other special flags needed.
There is also a default state (missing attribute) which uses the element’s default behavior, such as inheriting from the parent element’s spellcheck state.
Syntax
See also
Related pages
- HTMLElementHTMLElement
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]