js 重新加载本页面
function ChangeAppManAndSetWeight(AppManID) {
var CompanyID = document.getElementById("CompanyID").value;
var ByAppID = document.getElementById("ByAppID").value;
var NewWeight = document.getElementById(AppManID).value; //再次输入的权重
$.ajax({ //调用ajax
type: "post",
url: "../Ashx/UpdateEmployeeWeights.ashx",
data: "type=ChangeAppManAndSetWeight&NewWeight=" + NewWeight + "&AppManID=" + AppManID + "&CompanyID=" + CompanyID + "&ByAppmanID=" + ByAppID,
success: function (data) { alert(data) },
error: function (data) { alert(data); $(this).focus();
}
});
window.location.reload();
}