We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
指定的jsonp超时时间为 2 秒, 后端处理时间为5秒,在请求发出超过2秒之后,没有触发 error, 而是在5秒钟的时候(即后端返回的时候)触发了 success.
jsonp
error
success
测试代码如下:
<script src="MingGe_1.9.6.js"></script> <script> console.log('load:', new Date()); $.ajax({ dataType: 'jsonp', url: 'http://127.0.0.1:8088/22.php?cb=?', timeout: 2000, error: function(){ console.log('error'); }, success: function(v){ console.log('succ:', new Date()); } }); </script>
<?php sleep(5); echo $_GET['cb'], '(', time(), ')';
运行截图:
另外关于你的艰难决定, 是在为你的能力不足找借口吧?
艰难决定
The text was updated successfully, but these errors were encountered:
看图!
这里是有问题,是我测试时遗忘的,绝对就不是我技术问题 你来提交BUG,我很欢迎,但是你要带着耻笑的目的,来提BUG,你就首先要问下自己比我强吗?
,我另外我再告诉你,我现在的JS能力,绝对在JQ团队之上
再告诉你,山寨NG我都已经写出来了
Sorry, something went wrong.
自己把new bee tree到天上, 不打你脸, 你怎么会醒?
new bee tree
还吹嘘自己的能力在JQ团队之上, 他们怎么不漏写一个参数呢?
另外,你以为把那个 timeout 传进去它就正确了? 你确定?
timeout
自己再去看看我以前给你提的issue, 里面有多少个和JSON/jsonp 有关的bug. 看你改了多少次了, 还一堆bug, 居然还不知道谦虚.
JSON
No branches or pull requests
指定的
jsonp
超时时间为 2 秒, 后端处理时间为5秒,在请求发出超过2秒之后,没有触发error
,而是在5秒钟的时候(即后端返回的时候)触发了
success
.测试代码如下:
运行截图:
另外关于你的
艰难决定
, 是在为你的能力不足找借口吧?The text was updated successfully, but these errors were encountered: