Press "Enter" to skip to content

Interactive Ajax Tools

Ajax Interactive Learning Tool

XHR Object “readyState” Property

The “readyState” propert holds the current status of the XMLHttpRequest. When an Ajax Request is made, the “readyState” property value changes from 0 to 4.

Below are the different “readyState” values with description

0: request not initialized
1: server connection established
2: request received
3: processing request
4: request finished and response is ready



LOG:
Leave a Reply

Your email address will not be published. Required fields are marked *