SPDebugXMLHttpResult
Function
$().SPServices.SPDebugXMLHttpResult
Certification
Functionality
This function displays the XMLHttpResult from an AJAX call formatted for easy debugging. You can call it manually as part of your completefunc. The function returns an HTML string which contains a parsed version of the XMLHttpResult object.
Prerequisites
None
Syntax
var out = $().SPServices.SPDebugXMLHttpResult({
node: xData.responseXML
});
node
An XMLHttpResult object returned from an AJAX call
Example
$().SPServices({
operation: "GetList",
listName: "States",
completefunc: function (xData, Status) {
var out = $().SPServices.SPDebugXMLHttpResult({
node: xData.responseXML
});
$("#WSOutput").html("").append("<b>This is the output from the GetList operation:</b>" + out);
}
});