Convert String to XML Document in JavaScript

后端 未结 5 1530
一生所求
一生所求 2020-11-27 05:52

Saw this example on the jQuery examples page for Ajax:

var xmlDocument = [create xml document];
$.ajax({
        url: \"page.php\",
        processData: fa         


        
5条回答
  •  醉酒成梦
    2020-11-27 06:13

    you can use this simple code for convert your xml tags to text

    var temp_var = $("

    ").append($(your_xml_data)).htML()

提交回复
热议问题