jquery使用serialize来实现ajax提交form表单的案例代码:
$.ajax({
type: "POST",
dataType: "html",
url: "url",
data: $('#formAddHandlingFee').serialize(),
success: function (result) {
var strresult=result;
alert(strresult);
},
error: function(data) {
alert("error:"+data.responseText);
}
});