Positioning of scripts
Hello,
I have a strange problem when loading certain (jQuery) scripts, I normally load them in the masterpage.cs. This works since the browser can find and read them perfectly, except some scripts don't seem to work then (can't find the specific function of that script).
I already found a way around this by loading the script in de masterpage.cs in a literal and then placing this literal at the place right above the configurable script settings (or where you load the script). By doing this everything works well but I find it weird that it matters that much, is there an explanation for this?
Thanks for your time,
Rick.
Hi Rick,
Why don't you drop a JavaScript widget in your template with the master page and set the scripts to load in the <head> tag? I would need more information about your scripts that you load as well if this doesn't work.
Greetings,