日期:2014-05-16  浏览次数:20721 次

jquery ajax提交表单
var activityId = $("#activityId").val();
$.ajax({
type: "post",
url: "/arweb/reserve/add.action",
async: false,
data: "activityId = " + activityId,
dateType: "html",
success: function(){
alert("您已预约成功!");
$("#reserveBtn").attr("disabled", true);
},
error: function(){
alert("您的预约信息保存失败,请重新预约!");
}
});