Hmm - that might be an interesting enhancement to jQuery core,
actually - returning a dummy object when we do a script injection with
a single method: abort(). This way you could cancel a running request
in the same was as an XMLHttpRequest.

Would you be interested in filing a bug on this? Just reference this discussion.
http://dev.jquery.com/

--John



On Wed, Oct 1, 2008 at 10:17 PM, Jed Schmidt <[EMAIL PROTECTED]> wrote:
>
> Hello all,
>
> I'm wondering if anyone here knows of a reliable way of canceling a
> $.getJSON request for cross-domain JSONP.
>
> For example, is there any way to figure out the name of the function
> that jQuery appends to the window (such as "jsonp1222912605851"), so
> that I can just replace it with function(){}, and prevent the original
> callback from executing?
>
> Any help appreciated,
>
> Jed Schmidt
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to