For consistency, I agree so +1. I don't think this would break backward
compatibility, but I'd like to hear the jquery dev teams thoughts.
Thatcher
On Tue, Sep 2, 2008 at 10:19 AM, Jimmy <[EMAIL PROTECTED]> wrote:
>
> 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?
>
> >
>
--
Christopher Thatcher
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---