クリック イベントを dijit/form/Button に動的に設定しようとしています。しかし、私が試みている方法はうまくいかないようです。
<button id = "newActButton" data-dojo-type="dijit/form/Button"
type = "button"
data-dojo-props="iconClass: 'newActButtonIcon', label: 'New Act'"></button>
dijit.byId("newActButton").set("onClick", newActButtonOnClick());
起動したい関数 newActButtonOnClick() があります。