What Is readyState
The readyState of a Document Can Be One of Following: … the Document Has Finished Loading and the Document Has Been Parsed but Sub-Resources Such as Scripts...
The readyState of a document can be one of following: … The document has finished loading and the document has been parsed but sub-resources such as scripts, images, stylesheets and frames are still loading. complete. The document and all sub-resources have finished loading.
How do you know if your readyState?
If you need to check that value manually, you can use Web Console in Firefox ( Ctrl Shift K ) and JavaScript console in Chrome ( Ctrl Shift J ), just type document. readyState into the JavaScript command line and press Enter .
What does readyState 3 mean?
What is XHR readyState=3 ? Having the readyState with a value of 3 it means that the current state is LOADING . So when is a readyStateChange event for that state fired? Whenever an asynchrounous request does switch to the LOADING state.