AJAX Response

After interpreting or processing the request server returns the response, to get the handle the response from the server, use the responseText or responseXML property of the XMLHttpRequest object.

Property Description
responseText The responseText property returns the response as a string
responseXML The responseXML property returns an XML document object, which can be examined and parsed using W3C DOM node tree methods and properties.