HTML DOM Document documentMode

Example

Get the mode used by the browser to render this document:

document.documentMode;
Try it Yourself »

Description

The documentMode property is deprecated. Do NOT use it.

The documentMode only works in Internet Explorer.

All other browsers return undefined.


Syntax

document.documentMode

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.