Explain common XMLHttpRequest Object Properties.1. The ‘onreadystatechange’ property fires at every state change event. 2. The ‘readyState’ property is an object status integer. It uses the integers 0 to 4 for uninitialized, loading, loaded, interactive and complete states. 3. The ‘responseText’ property is a string version of data returned from server process. 4. The ‘responseXML’ property is DOM-compatible document object of data returned from server process. 5. The ‘status’ property is for returning numeric codes from the server like error codes, etc. 6. The ‘statusText’ property is used for string messages that accompany the status code.
|