what is the maximum timeout can be set in jquery ajax?
$.ajax( url:"", async: true, timeout: 2*60*60*1000, //2 hours, success: function(){}, error: function(){} ); In a jQuery ajax request, if I set the timeout with a big value, or left it empty, will it keep waiting until the server returns a result? Actually, I expect the server will response in 1.5 hours, so in my js script I set timeout to 2 hours, but I found the Ajax jump to error function (with msg code 404) in less than 1 hour. It means ajax abort the waiting ahead of the time . So I wonder if there is a maximum timeout value can ajax be set? My previous answer was wrong (timeout just