What is jQuery's ajax default timeout value?

JqueryTimeout

Jquery Problem Overview


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

Jquery Solutions


Solution 1 - Jquery

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().

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionyamspogView Question on Stackoverflow
Solution 1 - JqueryNick CraverView Answer on Stackoverflow