使用Jquery ajax post,我将如何显示一条消息以及即将发布的数据。

$.ajax({
  beforeSend: function (request) {
    //something here
  },
  type: "POST",
  url: "delete/process.php",
  data: "delcustomerid="+ delcustomerid,
  success: refreshTable
});

最佳答案

$.ajax({
  beforeSend: function (request) {
    alert("delcustomerid="+ delcustomerid);
  },
  type: "POST",
  url: "delete/process.php",
  data: "delcustomerid="+ delcustomerid,
  success: refreshTable
});

07-26 05:34