title: Dynamic content in ExtJS Window
body: <p><strong>TLDR</strong> I want to add some dynamic content into an Ext-JS window / popup.</p>
  
  <hr>
  
  <p>Currently I have tried assigning this content to a div and pulling on the innerhtml of that div like:</p>
  
  <pre><code>                new Ext.Window({
                  height: 50,
                  width: 160,
                  x: 0,
                  y: 30,
                  layout: "fit",
                  html: document.getElementById('output').innerHTML;
              }).show();
  </code></pre>
  
  <p>Am using jquery &amp; getjson to get the dynamic data.</p>
  
  <p>But  that does nothing at all. <br />Has anyone done something similar before?</p>
  
  <p>Can I give the html of the window an id and use it like an element?</p>