冯海滨博客

当前位置:   网站首页 >> Js/Jquery

jquery 标准ajax

--------------------广告位招租--------------------
  $.ajax({
                url: '/control/httplog.ashx?functiontype=delete',
                  type: "post",
                data: { "product": product },
                dataType: "json", 
                beforeSend: function () {
                    // Handle the beforeSend event
                },
                success: function (data) {

                   //do 
                },
                complete: function (XMLHttpRequest, textStatus) {
                    // Handle the complete event
                },
                error: function (jqXHR,textStatus,errorThrown) {
                    alert("出错啦!");
                }
            });



发表我的评论

Hi,您需要填写昵称和邮箱!

  • 必填项