PDA

View Full Version : Ext.Loader - how to load an external JS file?



LesJ
12 Sep 2011, 4:46 AM
I'd like to be able to use the Ext.Loader to dynamically load jQuery and a jQuery plugin.

Is this currently possible?

zombeerose
12 Sep 2011, 12:38 PM
Since the Loader relies upon the class namespace to locate the file based on the defined paths, I don't believe this is supported.

LesJ
1 Nov 2011, 12:27 PM
The private Ext.Loader.injectScriptElement method can be used to load an external JS file.