Skip to content

Instantly share code, notes, and snippets.

@efleming969
Created January 26, 2010 17:25
Show Gist options
  • Save efleming969/287021 to your computer and use it in GitHub Desktop.
Save efleming969/287021 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
dojo.addOnLoad(function() {
dojo.query(".aButton").instantiate("dijit.form.Button", {label:"This is a button"});
});
</script>
<div class="aButton"></div>
<div class="aButton"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment