I Use This!
Activity Not Available
Analyzed about 1 year ago. based on code collected about 1 year ago.

Project Summary

Prototype based Ajax.ScriptRequest to load JSON data from other domains.

Basic usagenew Ajax.ScriptRequest(url, options);

// Example
new Ajax.ScriptRequest("http://api.flickr.com/services/rest/", {
parameters: {
format: "json",
api_key: "xyz"
onResponse: myResponse,
callbackName: "jsoncallback"
});Extended usagenew Ajax.FlickrRequest(method, options);

new Ajax.FlickrRequest("flickr.tags.getHotList", {
onResponse: myResponse

ExtensionsAjax.DeliciousRequest Ajax.FlickrRequest Ajax.YahooImageSearch Ajax.XmlJsonRequest ... Sample extension implementationAjax.FlickrRequest = Ajax.ScriptRequest.extend({
setOptions: function(options){
this.url = "http://api.flickr.com/services/rest/?method=" + this.url;
this.options = {
callbackName: "jsoncallback",
parameters: {
api_key: "xyz",
format: "json"

// call your new extension:

new Ajax.FlickrRequest("flickr.tags.getHotList", myCallback);Downloadhttp://script-request.googlecode.com/svn/trunk/scripts/ScriptRequest.js http://script-request.googlecode.com/svn/trunk/scripts/ScriptRequestExtensions.js AuthorMartin Kleppe

Send Mail


ajax javascript json prototype

In a Nutshell, script-request...

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    anyone with an Open Hub account can update a project's tags
  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    you can embed statistics from Open Hub on your site

30 Day Summary

Apr 9 2016 — May 9 2016

12 Month Summary

May 9 2015 — May 9 2016


Be the first to rate this project
Click to add your rating
Review this Project!