日期:2014-05-16  浏览次数:20667 次

jquery 跳转问题。。。。高手们进。。。。。。。
本帖最后由 showbo 于 2013-06-22 10:54:04 编辑
高手们进。。。。。。。 


$.ajax({
                type: "POST",
                url: "Ajax/Message.ashx",
                data: { 'com': 'delmessage', 'mid': $delObject.attr("href"), 'nickname': $delObject.attr("title") },
                datatype: "json",
                beforeSend: function (data, textStatus) {
                    $delObject.text("...");
                },
                success: function (data, textStatus) {
                    if (data == "1") {
                        var obj = "https://shenghuo.alipay.com/send/payment/fill.htm?_ad=c&_adType=alipay_my_home_aide01&optEmail=18677052132&payAmount=500&title=123");
                        location.href=obj;
                            //$("#send").trigger("click");
                    } else {
                        alert("删除失败!");
                        $delObject.text("[删除]");
                    }
                },
                error: function (e) { alert("检测失败,请检查系统!"); }