pictures of cats show but Ican't get response function to alert when pointing to an ASP page. ASP page does render the sample json response listed below
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script src="/lib/jquery/jquery-latest.js"></script> <script> $(document).ready(function(){ $.getJSON("http://api.flickr.com/services/feeds/photos_public.gne? tags=cat&tagmode=any&format=json&jsoncallback=?", function(data){ $.each(data.items, function(i,item){ $("<img/>").attr("src", item.media.m).appendTo("#images"); if ( i == 3 ) return false; });//function });//getJason // //sample response data : // ( {"Records": [ {"firstname":"Nancy","lastname":"Davolio"} ], "RecordCount":"1" } ) //------------------------------------------------------------------------------------------------- $.getJSON("ajaxproc.asp", function(data){ $.each(data.items, function(i,item){ alert(i); });//function });//getJason });//ready </script> </head> <body> <div id="images"></div><br /> <div id="userlist"></div> </body> </html>