jquery Ajax提交表单数据

//表单中控件的name要和实体类字段属性一致
$.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);
                }
            });
原文地址:https://www.cnblogs.com/DONET-LC/p/ajax_fromsubmit.html