$.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("评论失败!请刷新页面重试");
}
}
});

05-11 22:23