thanks Giovanni i'll try that.

2009/8/19 Giovanni Battista Lenoci <[email protected]>

>
> Julien Martin ha scritto:
>
>> Hello,
>>
>> I basically want to catch any ajax request sent by my app and display an
>> alert.
>>
>> I have tried this to no avail:
>>
>> *jQuery("*").ajaxSend(function(event,request, settings){
>>   alert('called');
>> });*
>>
> Try :
>
> $.ajaxSetup({'success': function() { alert('ajaxcall successfully
> called');});
>
> all the ajaxcall after the $.ajaxSetup line should fire the alert.
>
> I don't know what happens if you reassign a success function (queued event
> or replaced event).
>
> If you want to know what are the possible options for the ajaxSetup take a
> look here: http://docs.jquery.com/Ajax/jQuery.ajax
>
> bye
>
> --
> gianiaz.net - web solutions
> via piedo, 58 - 23020 tresivio (so) - italy
> +39 347 7196482
>

Reply via email to