62,046
社区成员
发帖
与我相关
我的任务
分享
$(function () {
$("#linkPost").click(function () {
$.ajax({
type: "POST",
url: "post.aspx/SubmitThread",
data: null,
dataType: 'text',
contentType: "application/json; charset=utf-8",
beforeSend: function (XMLHttpRequest) {
$('#footer').text("正在查询...");
},
success: function (result) {
alert(result.d);
},
error: function (XMLHttpRequest, textStatus, errorThrown) {
alert(errorThrown);
}
})
});
})