jquery ajax 的简单写法
var options = {
type: "POST",
url: "/WEPM.OA.Web/OAHandler.ashx?Type=Grade&ProjectID=" + ProjectID + "&Batch=" + Batch,
contextType: "application/json; charset=utf-8",
dataType: "json",
success: function(response) {
jQuery("#CountNumber").val(response.CountNumber);
jQuery("#AAper").val(response.AAper);
jQuery("#Aper").val(response.Aper);
jQuery("#BBper").val(response.BBper);
jQuery("#Bper").val(response.Bper);
jQuery("#Cper").val(response.Cper);
jQuery("#Dper").val(response.Dper);
}
}
jQuery.ajax(options);