I Use This!
Activity Not Available
Analyzed 6 months ago. based on code collected 6 months 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

In a Nutshell, script-request...

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free tool to discover if there are open source vulnerabilities in your code
  • ...
    by exploring contributors within projects, you can view details on every commit they have made to that project
  • ...
    there are 3xxx projects on the Open Hub with security vulnerabilities reported against them
  • ...
    anyone with an Open Hub account can update a project's tags

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!