Ajax方法提交整个表单的信息

<pre>$.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);
                }
            });
</pre>
posted @ 2014-10-16 10:09  the boy、图样图森破  阅读(127)  评论(0编辑  收藏  举报