gpt4 book ai didi

ajax - jQuery:JSON 回调函数从未达到

转载 作者:行者123 更新时间:2023-12-01 06:59:27 24 4
gpt4 key购买 nike

我通过 JSON 请求页面,但从未到达回调函数。有人知道为什么会发生这种情况吗?

jQuery.getJSON("'. $dnd_fileupload_dir .'dnd-medialink.php?format=json&jsoncallback=?", function(data){  
alert("lalala");
});

最佳答案

使用firebug看看发生了什么。请求 URI 不正确并出现 400 错误,或者响应不是有效的 JSON。

关于ajax - jQuery:JSON 回调函数从未达到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5245273/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com