Skip to content

Instantly share code, notes, and snippets.

@rgrove
Forked from miraglia/yui_io_basic.js
Created September 2, 2010 20:58
Show Gist options
  • Save rgrove/562939 to your computer and use it in GitHub Desktop.
Save rgrove/562939 to your computer and use it in GitHub Desktop.
// Make an HTTP request to 'get.php'.
Y.io('get.php', {
on: {
complete: function (id, response) {
var id = id, // Transaction ID.
data = response.responseText; // Response data.
// ... handle the response ...
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment