.net中Ajax使用POST和GET

  //jquery 中Ajax
        function funJqueryGet() {
            $.get("b.aspx", { type: "jquery" }, function (date) {
                alert(date);
            });
        }
        var id =3;
        function funJqueryPost() {
            $.post("b.aspx", { type: id }, function (data) {
                alert(data);
            });
        }

posted @ 2013-07-28 00:33  fulai_xy  阅读(181)  评论(0编辑  收藏  举报