自己存档:ajax 动态提交form

                $.ajax({
                    cache: true,
                    type: "POST",
                    url: "/postcomment",
                    data: $('#pinglunform').serialize(),// 你的formid
                    async: false,
                    error: function (request) {
                        alert("Connection error");
                    },
                    success: function (data) {
                        $("#commonLayout_appcreshi").parent().html(data);
                    }
                });

原文地址:https://www.cnblogs.com/mikelij/p/3550259.html