1.

What are the important methods of XMLHttpRequest associated with AJAX?

Answer»

The IMPORTANT METHODS of XMLHttpRequest are:

  • abort() - This method HELPS in canceling the current request.
  • getAllResponseHeaders() - This method helps in returning the header details.
  • getResponseHeader() - This method helps in returning the specific header details.
  • open() - This method helps in OPENING the request.
  • send() - This method helps in sending the request.
  • setRequestHeader() - This method helps in ADDING request header.


Discussion

No Comment Found