如何在ajax调用中调试URL?

时间:2011-07-07 14:44:25

标签: php cakephp

有没有办法将错误调试为数据类型中拼写错误的URL,如代码所示:

$.ajax({beforeSend:function (XMLHttpRequest) {}, complete:function (XMLHttpRequest, textStatus) {}, 
                type: "POST", 
                data: ajaxPostData,
                dataType:"html", evalScripts:true, success:function (data, textStatus) {update(data)}, url: **HERE WAS A BUG**

PS。我用firebug和firephp

0 个答案:

没有答案