ajax提交form表单

    $.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);  
                    }  
                });  

编程技巧