What is jQuery ajax default timeout value?

Does anyone know what the jQuery default jQuery timeout value is?

+71
jquery timeout
Nov 10 '10 at 20:38
source share
1 answer

The default is 0 ( technically it is undefined , but behaves like 0). That means no timeout in jQuery itself ... if the browser has some timeout, it is quite possible you will hit it.

Only if the timeout option is given does jQuery even call setTimeout() .

+80
Nov 10 '10 at 20:41
source share



All Articles