开发者

what is the default global timeout for an Ajax request in Prototype?

开发者 https://www.devze.com 2022-12-20 00:15 出处:网络
I cannot find how can I attach an timeout option to the Ajax prototype call or wha开发者_高级运维t is the default value for it. There doesn\'t seem to be specific timeout functionality in Prototype ye

I cannot find how can I attach an timeout option to the Ajax prototype call or wha开发者_高级运维t is the default value for it.


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

精彩评论

暂无评论...
验证码 换一张
取 消