I have an external html within a Panel in Extjs. But the scripts which are defined with script tags in my html are not loaded; thus therefore my html does not work properly.
var test = Ext.create('Ext.panel.Panel', {
title : 'Example 1',
width : 250,
height : 250,
frame : true,
scripts: true,
autoLoad : {
url : './test.html'
}
})
Until now i have tried:
- Ext.Loader.Require
- Ext.Loader.LoadScript
- Inline (inside html file)
- In the main html on where extjs is residing
The first two load my script to the Extjs (i can see it in firebug) but still my html file can not access it.
Thus;
What are the (working) alternatieves to get it working?