declarative dijits
An example of a button and dialog without a javascript block
by monteslu
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.0/dijit/themes/claro/claro.css">
<span id="placeHolder">this will be replaced</span>
JavaScript
require(["dijit/ColorPalette"], function(ColorPalette){
var myPalette = new ColorPalette({
palette: "7x10",
onChange: function(val){ alert(val); }
}, "placeHolder");
});