This commit is contained in:
many2many 2024-10-12 13:49:02 +08:00
parent 5511b74f2e
commit 7c3cf0eca6

View File

@ -462,7 +462,7 @@ function parseXmlWithDomParser(xmlString) {
const xmlString = "<note><to>Tove</to><from>Jani</from><heading>Reminder</heading><body>Don't forget me this weekend!</body></note>"; const xmlString = "<note><to>Tove</to><from>Jani</from><heading>Reminder</heading><body>Don't forget me this weekend!</body></note>";
const xmlDoc = parseXmlWithDomParser(xmlString); const xmlDoc = parseXmlWithDomParser(xmlString);
console.log(xmlDoc); // 输出 "note" console.log(xmlDoc);
``` ```
##### AJAX请求 ##### AJAX请求