[jQuery] Re: $.getJSON and timeouts

2007-09-19 Thread Matt
Hi Peter, Thanks for your answer, I will try that. Matt 2007/9/19, Peter Bengtsson <[EMAIL PROTECTED]>: > > > $.getJSON() is just a wrapper on $.ajax(). The equivaqlent of > $.ajax({url:..., dataType:'json', data:..., success:..}) > > Try using $.ajax with that dataType instead and throw in th

[jQuery] Re: $.getJSON and timeouts

2007-09-19 Thread Peter Bengtsson
$.getJSON() is just a wrapper on $.ajax(). The equivaqlent of $.ajax({url:..., dataType:'json', data:..., success:..}) Try using $.ajax with that dataType instead and throw in the timeout on that. Matt wrote: Hi guys, Is there any way to handle timeouts when using $.getJSON() ? I tried to