.gif)
Retrieves the document compatibility mode of the document.
Syntax
[ vMode = ] object.documentMode
Possible Values
| vMode | Floating-point that receives one of the following values.5- Microsoft Internet Explorer 5 mode (also known as "quirks mode").
7- Internet Explorer 7 Standards mode.
8- Internet Explorer 8 Standards mode.
|
The property is read-only.
The property has no default value.
Remarks
This property is available in all compatibility modes.
The document compatibility mode of a Web page determines how Internet Explorer 8 interprets and renders the page. Page authors generally use meta elements to specify X-UA-Compatible HTTP-EQUIV headers that specify the document compatibility mode. For more information, see Defining Document Compatibility.
In versions of Internet Explorer previous to Internet Explorer 8, compatMode was solely determined by DOCTYPE.
Standards Information
There is no public standard that applies to this property.
Applies To
See Also