title: Dojo dialog for Image and text pop up
body: <p>I'm trying to create a dialog which shows text and image using dojo dialog widget, whenever I'm passing image details through <code>innerhtml</code> pop-up is not appearing either for text or image.</p>
  
  <p>It works fine for text details but the image details don't show. I've included my code below:</p>
  
  <h3>HTML:</h3>
  
  <pre><code>&lt;div data-dojo-type="dijit.Dialog" title="SUB Details"
      style="width: 500px; height: 150px; display:none; 
      id="subDetailDialog"
      data-dojo-id="kycDetailDialog"&gt;
      &lt;br&gt;
      &lt;table border ='0px' align='center' width='400' class='detailedInfo' id='detailedInfo' &gt;
          &lt;tr class='even'&gt;
              &lt;td style="width:40%"&gt;&lt;strong&gt;First Name&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;:&lt;/strong&gt;&lt;/td&gt;
              &lt;td id='firstNameRow' style="width:40%"&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr class='odd'&gt;
              &lt;td&gt;&lt;strong&gt;Date of birth&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;:&lt;/strong&gt;&lt;/td&gt;
              &lt;td id='dobRow'&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr class='even'&gt;
              &lt;td&gt;&lt;strong&gt;Subscriber Image&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;:&lt;/strong&gt;&lt;/td&gt;
              &lt;td id='imgRow'&gt;&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>
  
  <h3>Javascript:</h3>
  
  <pre><code>dojo.byId("firstNameRow").innerHTML = data.firstName;
  dojo.byId("dobRow").innerHTML = data.dob;
  dojo.byId("imgRow").innerHTML = '&lt;img src="/images/123456789_.jpg" border="0" width="32" height="32"/&gt;';
  
  subDetailDialog.show();
  </code></pre>