$.ajax({url:"mobileSurveyAction_addSurvey.action",//提交地址data:$("#form1").serialize(),//将表单数据序列化type:"POST",dataType:"json",success:function(result){if (result.success == "100"){$("#mySection").hide();$(".footer").hide();$("#alertMsg").show(); }else{alert("失败!");}}});以上所述就是本文的全部内容了,希望能够对大家熟练掌握异步提交表单有所帮助。