How to dynamically create a dojo button using option such as iconClass
<p>I want to dynamically create a dojo button, and I have issue to use option such as iconClass.</p>

<p>Here is I how I would create the button </p>

<pre><code>&lt;td valign="middle" align="
  &lt;button data-dojo-type="dijit/form/Button" data-dojo-props="iconClass:'icon_btn_add', showLabel: false" type="button" onClick='require(["RouteView.js"], function( s ) { s.cb_click_btn_add(1); })' id="id_btn_add_0" 
&lt;/td&gt;
</code></pre>

<p>I have tried </p>

<pre><code>btn = new Button({
   "data-dojo-props": "iconClass:icon_btn_add, showLabel: false",
   "onClick": "require(['RouteView.js'], function( s ) {
      s.cb_click_btn_add("+(n)+
      "id": "id_btn_add_"+n,
      "disabled": "true"
   }, id_td3);
</code></pre>

<p>and this:</p>

<pre><code>domConstruct.create("button", { 
      "data-dojo-type": "dijit/form/Button",
      "data-dojo-props": "iconClass:icon_btn_add, showLabel: false",
      "type": "button",
      "onClick": "require(['RouteView.js'], function( s ) { s.cb_click_btn_add("+(n+1)+"); })",
      "id": "xid_btn_add_"+n,
      "disabled": "true"
    }, id_td3, "last");
</code></pre>

<p>The "data-dojo-props" property is not taken in account.</p>

<p>How can I then create dynamically a dojo Button and use iconClass ?</p>