日期:2014-05-16 浏览次数:20409 次
$(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);
}
})
});
})