Jquery 没有错误详细信息的Datatable ajax错误
该进程属于errorjqXHR、stringtextstatus、stringerror抛出处理程序 当我在console.log中记录我得到的变量时:Jquery 没有错误详细信息的Datatable ajax错误,jquery,ajax,datatable,timeout,firebug,Jquery,Ajax,Datatable,Timeout,Firebug,该进程属于errorjqXHR、stringtextstatus、stringerror抛出处理程序 当我在console.log中记录我得到的变量时: jqXHR: { readyState: 0, responseText: "", status: 0, statusText: "error" //and other meaningless prototype functions } textStatus: "error" errorThrown: "
jqXHR: {
readyState: 0,
responseText: "",
status: 0,
statusText: "error"
//and other meaningless prototype functions
}
textStatus: "error"
errorThrown: ""
我在同一页上有两个数据表,另一个正在正确加载
控制台显示了一个奇怪的东西:
第一个datatable ajax调用是OK HTTP 200
第二个错误没有HTTP代码,响应为空。但是,当我在一个新选项卡中打开调用时,它会按预期工作,返回一个JSON响应。
问题与Apache2 web服务器有关 我不知道为什么,但重新启动它解决了问题