[jQuery] Re: Using JSONP...I'm clueless.

2007-12-28 Thread Scott Trudeau
Ryura, You don't need to use getJSON but you do need to find out exactly how the JSONP service you are using expects the callback function to be specified in the URL. The echo you provided shows that the service you are calling is not prepending the JSON encoded object with the name of the functio

[jQuery] Re: Using JSONP...I'm clueless.

2007-12-28 Thread dfd
Why not use getJSON? >From the docs http://docs.jquery.com/Ajax/jQuery.getJSON#urldatacallback As of jQuery 1.2, you can load JSON data located on another domain if you specify a JSONP callback, which can be done like so: "myurl? callback=?". jQuery automatically replaces the ? with the correct

[jQuery] Re: Using JSONP...I'm clueless.

2007-12-28 Thread Jeffrey Kretz
(English) Subject: [jQuery] Re: Using JSONP...I'm clueless. Basically, you can not make a ajax-driven cross domain connection directly. Have a look at http://shiflett.org/blog/2006/aug/cross-domain-ajax-insecurity

[jQuery] Re: Using JSONP...I'm clueless.

2007-12-27 Thread pcdinh
Basically, you can not make a ajax-driven cross domain connection directly. Have a look at http://shiflett.org/blog/2006/aug/cross-domain-ajax-insecurity