function DeleteItem() {
var complete = ""
var myID = document.getElementById("myXmlID").value;
var myName = document.getElementById("myXMLName").value;
MyWebService.Call.LiveService.RunTest(SucceededCallback, FailedCallback,
"XmlDocument")
}
function SucceededCallback(result, userContext, methodName) {
var xmlString = new XMLSerializer().serializeToString(result);
//can get to here with Safari.
xmlDoc = (new DOMParser()).parseFromString(xmlString, "text/xml");
alert(xmlDoc.xml);
}
function FailedCallback(error) {
alert("Load Failure");
}
|