HTML DOM Document readyState Property
- Previous Page querySelectorAll()
- Next Page referrer
- Go to the Previous Level HTML DOM Documents
Definition and usage
readyState
The property returns the (loading) state of the current document.
readyState
The property is read-only.
Syntax
document.readyState
Return value
Type | Description |
---|---|
String |
The current state of the document:
|
Browser support
document.readyState
It is a feature of DOM Level 3 (2004).
All browsers support it:
Chrome | IE | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
Chrome | IE | Edge | Firefox | Safari | Opera |
Support | 9-11 | Support | Support | Support | Support |
- Previous Page querySelectorAll()
- Next Page referrer
- Go to the Previous Level HTML DOM Documents