HTML DOM Document readyState
Definition and Usage
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 browsers:
Chrome | IE | Edge | Firefox | Safari | Opera |
Yes | 9-11 | Yes | Yes | Yes | Yes |