使用Jquery ajax发布如何显示有关将要发布的数据的消息。
$.ajax({
beforeSend: function (request) {
//something here
},
type: "POST",
url: "delete/process.php",
data: "delcustomerid="+ delcustomerid,
success: refreshTable
});
答案 0 :(得分:3)
使用firebug和console.log(request)
答案 1 :(得分:0)
$.ajax({
beforeSend: function (request) {
alert("delcustomerid="+ delcustomerid);
},
type: "POST",
url: "delete/process.php",
data: "delcustomerid="+ delcustomerid,
success: refreshTable
});