62,067
社区成员
发帖
与我相关
我的任务
分享
//下面为审核提交
function checkok() {
//判断数据是否被修改,如已经被修改则保存数据
var updat_flag = "";
var nid = document.getElementById("newid").value;
var ntitle = document.getElementById("newtitle").value;
var nconetent = encodeURIComponent(UE.getEditor('editor').getContent());
var ndata = { id: nid, title: ntitle,content:nconetent, nextstepplain }
$.ajax({
type: "POST",
url: "../ashprama/new_data.ashx",
data: ndata,
contenttype: "json",
success: function (msg) {
if (msg != "") {
$('#checkdialog').dialog('close');
alert("已经完成办理!");
//if (a10 == "")
//{ window.location.href = "../aspxprama/default.aspx"; }
//else
//{
window.location.href = "../aspxprama/default.aspx";
//}
}
else
$.messager.alert("警告", "数据提交不成功!");
}
});
}