开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜