Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

A quick question

How does one load an external js file? When I do the following, it does not appear to load the file:How do I check the file is loaded

(Coffeescript format)

  js_Load = ->

    files = [];

    files.push extensionPath + "leaflet_0_8.js"

    files.push extensionPath + "map.js"

    files.push "http://beta.mapquestapi.com/sdk/leaflet/v0.1/mq-map.js?key=MyAPIKey"

Qv.LoadExtensionScripts files, ExtensionStart

  js_Load()

0 Replies