提交form表单

方法一:

$.ajax({

})

 $.ajax({  
                    cache: true,  
                    type: "POST",  
                    url:ajaxCallUrl,  
                    data:$('#yourformid').serialize(),// 你的formid,serialize()函数会把表单要提交的数据序列化成参数形式  
      
                    async: false,  
                    error: function(request) {  
                        alert("Connection error");  
                    },  
                    success: function(data) {  
                        $("#commonLayout_appcreshi").parent().html(data);  
                    }  
                }); 
原文地址:https://www.cnblogs.com/wang715100018066/p/6148296.html