您的位置:首页 > 其它

Ajax提交form表单

2014-08-29 17:39 127 查看
$.ajax({
  cache: true,
  type: "POST",
  url:ajaxCallUrl,
  data:$('#yourformid').serialize(),// 你的formid
  async: false,
  error: function(request) {
    alert("Connection error");
  },
  success: function(data) {
    $("#commonLayout_appcreshi").parent().html(data);
  }
});
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: