HTML DOM Document readyState property
- Previous page querySelectorAll()
- Next page referrer
- Go up one 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
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 up one level HTML DOM Documents