The onreadystatechange Property
After sending a request to the web server, we need a function to receive the data returned from the server.
The onreadystatechange property stores the function that will process the response from a server. This function is stored in the property and is called automatically.
// code here