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

jquery ajax嵌套ajax 的问题
            $.post("../ajax/CrossDomain.ashx",
                               { Action: 2,
                                   Mobile: Mobile,
                                   Message: $("#Message").val()
                               },
                                function (data) {
                                    //alert(data);
                                    $.post("../ajax/EditData.ashx?TableName=EditSMS",
                                           { FCompany: rows[i].JSON_fcompany,
                                               Mobile: Mobile,
                                               Message: $("#Message").val(),
                                               FState: data
                                           }, function (data2) { alert(FCompany + Mobile + Message + FState + data2) });
                                    $("#tab_list").datagrid("reload");
                                });


利用第一个里面的返回值 ,二次执行ajax,第二次没有执行,为什么,求高手解
Ajax 小结