本文介绍了Ajax里面的Ajax但它不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在ajax里面有ajax但是它没有工作.....它不会调试..

为什么......



我尝试过:



I have ajax inside ajax but its not working.....it does not going to debugger..
why...

What I have tried:

 $.ajax({
                    type: "POST",
                    contentType: "application/json; charset=utf-8",
                    url: "WebService1.asmx/GetConsoleName",
                    async: false,
                    dataType: "json",
                    success: function (response) {
                        console = response.d.data;
                        $("#hdn").val(console);

                        debugger;
                        var data = null;
                        $.ajax({
                            type: "POST",
                            contentType: "application/json; charset=utf-8",
                            url: "WebService1.asmx/GetPlantMapName",
                            dataType: "json",
                            success: function (response) {
                                tmp = response.d.data;
                                debugger;
}
});
}
});

推荐答案




这篇关于Ajax里面的Ajax但它不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-23 01:42
查看更多