thanks mike for the clarification. -GTG
On 8/11/07, Michael Geary <[EMAIL PROTECTED]> wrote: > > Um. Guys. What was the very first jQuery plugin? :-) [1] > > It's true, AJAX (XMLHttpRequest) won't work across domains, but JSONP with > the dynamic script tag works fine (except for a few versions of Safari like > 2.0.0 - which should be pretty rare). > > Eric, I saw your comment on my blog post (below) and took a look at your > code. You were pretty close, just a couple of tweaks and I got your code > working. I'll post a followup comment with the details shortly... > > -Mike > > [1] http://mg.to/2006/01/25/json-for-jquery > > ------------------------------ > *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Ganeshji Marwaha > *Sent:* Saturday, August 11, 2007 10:05 PM > *To:* jquery-en@googlegroups.com > *Subject:* [jQuery] Re: $.getJSON ? > > > Just to add to what john said, it is not a limitation of jquery, but ajax > in general, but i might be wrong... > John, correct me if i am wrong. > > -GTG > > > On 8/11/07, John Resig <[EMAIL PROTECTED]> wrote: > > > > > > You can't request JSON data from remote URLs, currently. You'll need > > to run the request through a local server in order to get at the > > specific data, unfortunately. > > > > --John > > > > On 8/11/07, neuromystical <[EMAIL PROTECTED]> wrote: > > > > > > Can anyone tell me what is wrong with the following. I am new to > > > JQuery and I do not know if I am doing anything wrong here. I am not > > > just looking for an answer, I am trying to understand what is going on > > > here and I do not understand by looking at the existing jquery.js I > > > have or searching the web for jquery stuff. I realize their are Flickr > > > scripts to addon to JQuery, but I want to understand JQuery. > > > > > > $(document).ready(function(){ //INIT Stuff > > > // Your code here > > > alert('Document Ready'); > > > var url = 'http://api.flickr.com/services/feeds/ > > > photos_public.gne? > > > [EMAIL PROTECTED] > > &api_key=6470b0f7c050146a3dd9e861966092c5&format=json'; > > > alert(url); > > > $.getJSON(url,function(json) > > > { > > > alert('test'); > > > //alert('I received the json and put it in the json var : > > > ' + json.toString()); > > > } > > > //alert('nothing after this'); > > > ); > > > }); > > > > > > > > > >