ajax

$.ajax({
                cache: true,
                type: "POST",
                url:"<%=path%>/contact/Contact_sendMail.action",
                data:$('#contact_form').serialize(),// 你的formid
                async: false,
                error: function(request) {
                    //alert("Connection error");
                },
                success: function(responseText) {
                    alert(responseText)
                }
            });

}

 

posted on 2016-01-11 21:19  Arvin-9  阅读(72)  评论(0)    收藏  举报

导航