0

"<"?xml version=\"1.0\" encoding=\"utf-8\"?> "<"string xmlns=\" http://xyz.org/ \"> Hello World "<"/string>

我想获得Hellow World。然后怎么办?

4

1 回答 1

0

如果您使用的是 jquery:

$(document).ready(function() {
  $("#Result").click(function() {
     $.ajax({
      type: "POST",
      url: "Default.aspx/MyWebMethod",
      data: "{}",
      contentType: "application/json; charset=utf-8",
      dataType: "json",
      success: function(msg) {
         alert(msg.d);
      }
});
于 2013-10-09T16:07:20.277 回答