0 votes
in AJAX by
List various properties of XMLHttpRequest.

1 Answer

0 votes
by

Following are lists of XMLHttpRequest properties:

  1. onreadystatechange – For every state changes event gets fired by event handler.
  2. readyState – Defines current state of XMLHttpRequest
  3. responseText – Response is returned as string.
  4. responseXML – Response is returned as XML in XML document object and parsed using DOM tree properties and methods.
  5. status – status is returned as number. Example: 404 for “Not Found” 200 for “OK”
  6. statusText – status is returned as text. Example: “Not Found” or “OK”
...