Represents the state of the request.
Syntax
objValue = oXMLHttpRequest.readyState
Remarks
Variant. The property is read-only. It represents the state of the request as an I4 (4-byte integer). The following values are defined:
- UNINITIALIZED
- The object has been created but has not been initialized (open has not been called).
- LOADING
- The object has been created but the send method has not been called.
- LOADED
- The send method has been called and the status and headers are available, but the response is not yet available.
- INTERACTIVE
- Some data has been received. You can call responseBody and responseText to get the current partial results.
- COMPLETED
- All the data has been received, and the complete data is available in responseBody and responseText.
This property returns a 4-byte integer.
Applies To
XMLHttpRequest
See Also