jquery 标准ajax
摘要: $.ajax({ url: '/control/httplog.…
$.ajax({
url: '/control/httplog.ashx?functiontype=delete',
type: "post",
data: { "product": product },
dataType: "json",
beforeSend: function () {
// Handle the beforeSend event
},
success: function (data) {
//do
},
complete: function (XMLHttpRequest, textStatus) {
// Handle the complete event
},
error: function (jqXHR,textStatus,errorThrown) {
alert("出错啦!");
}
});


