//{"F_DepartmentId":"8684502a-5dc2-487c-b589-48d2eb7734c1","F_ManagerId":"feige"} var postData = $(".form").GetWebControls(keyValue); var did = postData["F_DepartmentId"]; var mid = postData["F_ManagerId"]; //删除原来的json值 delete postData["F_DepartmentId"]; delete postData["F_ManagerId"]; //添加新的json值 postData["F_DealDepartMent"] = did; postData["F_DealPerson"] = mid; alert(JSON.stringify(postData)); //输出的结果是:{"F_DealDepartMent":"8684502a-5dc2-487c-b589-48d2eb7734c1","F_DealPerson":"feige"} |