am talking about Function(data) content how to play with json data , thats what i want to know .
As am not able to understand with the flicker example. *function(data){ $.each(data.items, function(i,item){ $("<img/>").attr("src", item.media.m).appendTo("#images"); if ( i == 3 ) return false; }); });* On Mon, Jul 20, 2009 at 5:30 PM, MorningZ <morni...@gmail.com> wrote: > > the official documentation is a great place to start > > http://docs.jquery.com/Ajax/jQuery.getJSON#urldatacallback > > that method will make a GET call and automatically parse the returned > data as JSON > > > On Jul 20, 7:21 am, jayz <sharmaa...@gmail.com> wrote: > > Am trying to access a restful service through jquery. > > Could any one provide me with sample code how to make a GET request > > which will consume json data returned by the service. > > > > am a total newbie. > > any help wil be appricitd. > > > > Jayz > -- Ajay Sharma