Results 1 to 3 of 3

Thread: Loading an external js file into a window

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    37
    Vote Rating
    1
      0  

    Default Loading an external js file into a window

    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
    http://www.sencha.com/forum/showthre...-Ext-4.x/page2

    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 .

  2. #2
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,751
    Answers
    130
    Vote Rating
    129
      0  

    Default

    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.
    Best regards
    Tobias Uhlig

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    37
    Vote Rating
    1
      0  

    Default

    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 .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •