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