> The alert below never occurs (and a breakpoint is never hit if I put
> it there), but I can see that the ajax request is being sent.
>
>                 j$.ajax({
>                         'url': serviceUrl,
>                         dataType: "jsonp",
>                         data: params,
>                         beforeSend: function(req) {
>                            alert("inside!");
>                         }
>                 });


If serviceUrl is on a different domain then your jsonp request will
not use ajax, and so beforeSend will not be called.  x-domain jsonp
requests inject script tags into the document head.

Reply via email to