Skip to content

Instantly share code, notes, and snippets.

@mklabs
Created November 1, 2010 17:45
Show Gist options
  • Select an option

  • Save mklabs/658574 to your computer and use it in GitHub Desktop.

Select an option

Save mklabs/658574 to your computer and use it in GitHub Desktop.
(function() {
dojo.xhrGet({
url : 'foo.php',
load : function(resp) {
if (resp && resp.foo) {
// run this important code
}
}
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment