Explain common XMLHttpRequest Object Methods.1. The abort() is used to stop the current request. 2. The getAllResponseHeaders() method is used to return the full set of headers as a string. 3. The getResponseHeader("headerLabel") method is used to return the string value of a single header label. 4. The open("method", "URL"[, asyncFlag[, "userName"[, "password"]]]) is used to assign the destination URL, method, and other optional attributes of a request. 5. The send(content) method transmits the request, optionally with postable string or the data of DOM object. 6. The setRequestHeader("label", "value") method is used to assign a label/value pair to the header to be sent with a request.
|