ajaxSend not fired with jsonp
Hi all!
I am trying to show a simple "loading..." image when I do some ajax
calls.
As is the example, I used:
$("#ajax-loading").bind("ajaxSend", function(){
$(this).show();
}).bind("ajaxComplete", function(){
$(this).hide();
});
The problem is that the ajaxSend event is not fired with jsonp.
I also tried to configure with ajaxSetup and the "before" argument but
it's the same.
jsonp is not really "ajax" since it does not use the XHR object, but
in jQuery you can use it with the $.ajax method. I would call it a
bug. This bug has to be fixed.
What do you think?