[jQuery] Re: cross domain getJSON nothing happens
"the strange thing is that if I don't use jsonp (by using the callback
query), it works locally. But obviously won't work when in a cross
domain environment. "
It's not as easy as putting "callback=?" in the url.. you have to wrap
the JSON you are generating in a function name so that jQuery can
process it when it gets the response...
cross domain jsonp absolutely for sure works, but you are not
implementing it correctly... maybe show more code and what Firebug
shows the response to be?
On Oct 23, 9:50 am, jayQuery <xaudio...@yahoo.co.uk> wrote:
> didn't help...
>
> the strange thing is that if I don't use jsonp (by using the callback
> query), it works locally. But obviously won't work when in a cross
> domain environment.
>
> On Oct 23, 2:37 pm, MorningZ <morni...@gmail.com> wrote:
>
> > See if this reply i made yesterday helps you out at all
>
> >http://groups.google.com/group/jquery-en/browse_thread/thread/1525b2d...
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home