Mathew,

I believe you can set the value to null or 0 to not have the request
time out ... but you may want to implement something on error instead
of this to say attempt the search again x times then print msg server
is busy or something along those lines.



On Mar 24, 10:51 pm, Mathew <msin...@gmail.com> wrote:
> i am using jquery ajax to load search results of a page. and am having
> a hard time finding an answer to this question regarding my timeout
> time
> i have jquery set to timeout 5000 before doing the success functions.
> i have noticed on my less than reliable connection that sometimes it
> takes longer then 5000 to complete the ajax call and if it does then
> the ajax fails to submit. i could up the limit but usually when my
> connection is good the call only takes 200. is tehre a way to match
> the timeout to however long the call takes?
> thanks

Reply via email to