HTML DOM Document readyState
Description
The readyState
property returns the (loading) status of the current document.
The readyState
property is read-only.
Syntax
document.readyState
Return Value
Type | Description |
String | The status of the current document: uninitialized - Has not started loading loading - Is loading loaded - Has been loaded interactive - Has loaded enough to interact with complete - Fully loaded |
Browser Support
document.readyState
is a DOM Level 3 (2004) feature.
It is fully supported in all modern browsers:
Chrome | Edge | Firefox | Safari | Opera | IE |
Yes | Yes | Yes | Yes | Yes | 11 |