强悍啊。我搞了两天了。这个方法function outputResponse(loader){你是怎么写的啊}
我看官网的帮助文档:
◦loader.xmlDoc - HTTP Response object;
◦loader.xmlDoc.responseXML - xml object which came with reponse;
◦loader.xmlDoc.responseText - text which came with response;
◦loader.doXPath(xpathExp, docObj, namespace, result_type) - XPath Processor (see details in related chapter);
◦loader.doSerialization() - returns string representation of XML object got with response;
◦loader.doXSLTransToObject(xslDocument) - makes XSL transformation with object result (see details in related chapter);
◦loader.doXSLTransToString(xslDocument) - makes XSL transformation with string result (see details in related chapter).
--------------------------------------------------------------------
全是XML的啊,到底怎么才能把JSON解析出来,请赐教。。