I downloaded hand-written scripts in Extjs using: Ext.Loader.LoadScript
Ext.Loader.loadScript({ url : './a-path/testController.js', onLoad : onLoad('loaded'), onError : onError });
I also added an external html file using the panel:
var myTestPanel = Ext.create('Ext.panel.Panel', { title : 'Example 1', width : 250, height : 250, frame : true, loader: { url: './test.html', renderer: 'html', autoLoad: true, scripts: true } })
Question: "How can I use downloaded scripts in my external html file?"
Asqan May 28 '15 at 12:42 2015-05-28 12:42
source share