$.ajax({

  url: "a.xml",

  dataType: "xml",

  type: "GET",

  error: function(xml) {alert("error");},

  success: function(xml) {

    $(xml).find("tag").each(function(i) {

      var id = $(this).attr("id");

      var lower = $(this).children("lower").text();

      //......

    });

  }

});

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-20
  • 2022-02-07
  • 2022-01-08
猜你喜欢
  • 2022-12-23
  • 2022-02-18
  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
  • 2022-12-23
  • 2021-06-01
相关资源
相似解决方案