the function is ajaxError() and not error() -GTG
On 8/1/07, oscar esp <[EMAIL PROTECTED]> wrote: > > > I need to have a global behaviour for ajax call. I have next code: > > jQuery().ajaxSuccess(function(request, settings){updateCounter ();}); > > jQuery().error(function(request, settings){alert('APLICATION ERROR\n > '+settings.url);}); > > jQuery.ajaxTimeout(120000); > > > - Ajax Success works fine. > > - I don't know how provoke and error to execute error function.... Any > suggestion? > > - TimeOut: When time out event is fired, error function should be > executed or there is any way to specify which function should be > fired? > > Thanks. > >