sequence of loading scripts

sequence of loading scripts

Hi all,

I want to control the sequence of loading javascripts in my page.
Now I use in my preparation AddJavascriptTags, but those are loaded before the default OutSystems OS_JS.js (jQuery) file is loaded.

How can I make sure OS_JS is loaded first ?

Are they needed upfront?

You might consider adding them at the bottom of the page...
That's what I do now... but want to use the AddJavaSctipTag function instead of an expression in the window
Rethinking some more, but why does the order matter?

it's just javascript, or do you some cunning execution of javascript in that specific part that depends on osjs ?