All Versions
Gadgets and Dashboards 3.0Gadgets and Dashboards 2.0
Gadgets and Dashboards 1.0
More...
This page is part of the Gadget Developers' JavaScript Cookbook.
The framework wraps the OpenSocial gadgets.io.makeRequest
method with the standard jQuery interface. You should write code as if you were just using the jQuery interface. For example:
AJS.$.ajax({
url: "/rest/gadget/1.0/filtersAndProjects",
type: "GET",
data: ({projectsOnly : "true"}),
dataType: "json",
success: function(msg){
alert(msg);
}
});
Gadget Developers' JavaScript Cookbook
Using the Atlassian Gadgets JavaScript Framework