View Full Version : Loading an external js file into a window

24 Feb 2012, 3:34 AM
Hello All ,

I have a requirement , I have a popup which gets loaded when a button is pressed . I need a external js file (google apis ) to get loaded when popup is opened .

I searched the forum and found managed iframe

my problem here is i m not aware of how integrate it in my application . Is there any other way to load that particular js file .

24 Feb 2012, 5:38 AM
dougs managed iframe ux is quite easy to use, just include the file(s) into your app, for example with the ext.loader or put a script tag into your index.html.

popup means new browser window or an ext window?

if you are using an iframe, you can simply include the js files in the loaded html file as well.

24 Feb 2012, 5:57 AM
thanks tobiu,

popup is a new window , where their are few texfeilds . Inside one of these feilds i need to load the google autocompletion api .