$.ajax({
  type: "post",
  url: "your_webservice.asmx/you_method",
  contentType: "application/json; charset=utf-8",
  dataType: "json",
  data: '{parameter_key:"parameter_value"}',
  success: function (data) {
  alert(data.d);
  },
  error: function () {
  alert("fail");
  }
});

注:数据格式均采用json

相关文章:

  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
  • 2021-11-07
  • 2022-12-23
猜你喜欢
  • 2021-10-06
  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-08
  • 2021-12-04
相关资源
相似解决方案