我找不到如何将超时 选项 附加到 Ajax 原型调用或什么它的默认值。
I cannot find how can I attach an timeout option to the Ajax prototype call or what is the default value for it.
Prototype 中似乎还没有特定的超时功能。它似乎肯定正在开发中,请参阅 Prototype Ticket #220。我猜它正在使用 XMLHTTPRequests 的任何浏览器范围的全局超时。
JQuery 似乎内置了这个。
There doesn't seem to be specific timeout functionality in Prototype yet. It seems to be definitely in the works, see Prototype Ticket #220. I'm guessing it is using whatever browser-wide global timeout there is for XMLHTTPRequests.
JQuery seems to have this built in.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
Prototype 中似乎还没有特定的超时功能。它似乎肯定正在开发中,请参阅 Prototype Ticket #220。我猜它正在使用 XMLHTTPRequests 的任何浏览器范围的全局超时。
JQuery 似乎内置了这个。
There doesn't seem to be specific timeout functionality in Prototype yet. It seems to be definitely in the works, see Prototype Ticket #220. I'm guessing it is using whatever browser-wide global timeout there is for XMLHTTPRequests.
JQuery seems to have this built in.