Document readyState Property
Definition and Usage
The readyState property returns the (loading) status of the current document.
This property returns one of four values:
- uninitialized - Has not started loading yet
- loading - Is loading
- interactive - Has loaded enough and the user can interact with it
- complete - Fully loaded
The readyState property is supported in all major browsers.
Return the loading status of the current document:
Try it yourself »
Thank You For Helping Us!
Your message has been sent to W3Schools.