What is jQuery's ajax default timeout value? [duplicate]

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


Solution 1:

The default is 0 (technically it's undefined, but behaves as 0). This means no timeout in jQuery itself...if the browser has some timeout it's entirely possible you'll hit that.

Only when a timeout option is specified does jQuery even call setTimeout().