Skip to content

Instantly share code, notes, and snippets.

@neonstalwart
Created September 16, 2009 01:05
Show Gist options
  • Save neonstalwart/187788 to your computer and use it in GitHub Desktop.
Save neonstalwart/187788 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
dojo.require("dojo.data.ItemFileWriteStore");
var fillStore = function(){
dojo.xhrGet({
url: "some/url",
handleAs: "json",
load: function(data, ioArgs){
// handle your data here
}
});
}
dojo.addOnLoad(fillStore);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment