+1 I think this is a gaping hole in the AJAX module since so many sites are starting to use JSONP rather than having every request proxied, it'd be nice to just do:
Ajax.Request('http://api.flickr.com/services/feeds/photos_public.gne', { JSONP:'jsoncallback',/* Pass the param that will point to the callback */ parameters:{tags:'cat',tagmode:'any',format:'json'}, onSuccess:function(){ console.log(data); /* Callback goes in the usual place */ } }) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---