Search code examples
javascriptajaxtimeoutprototypejs

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 what is the default value for it.


Solution

  • 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.