$.ajax({
url: "getmore.ashx",
type: "post",
dataType: "text",
data: { id: articleid, ct: $("#CommentBody").val(), action: "addpl" },
contentType: "application/x-www-form-urlencoded; charset=utf-8",/*加多这个编码的属性*/
success: function(data) {
if (data == 1) {
LoadPinglun();
} else {
alert("评论失败!请刷新页面重试");
}
}
});
转载于:https://www.cnblogs.com/sanjuantianshu/p/4226431.html