[jQuery] Re: how does jQuery's timeout used?

2007-10-09 Thread [EMAIL PROTECTED]
A timeout is not an error?? On 17 ago, 07:42, Erik Beeson [EMAIL PROTECTED] wrote: I guess thetimeoutjust means it will stop trying to complete the request. I've never actually tried to use it. To get an alert like you want, you might try using your own timer (untested): var ajax_timeout;

[jQuery] Re: how does jQuery's timeout used?

2007-08-16 Thread Erik Beeson
I guess the timeout just means it will stop trying to complete the request. I've never actually tried to use it. To get an alert like you want, you might try using your own timer (untested): var ajax_timeout; $.ajax({ ..., beforeSend: function() { ajax_timeout = setTimeout(function() {