jQuery included location in layout.html

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

jQuery included location in layout.html

I'm using Thymeleaf Layout Dialect:

I have a layout page developed by another group which I have no control over.  I noticed the jQuery.js is included at the bottom of the page, instead of in the <header> section.

The page I'm developing using layout page requires the jQuery.js to be loaded upfront (I tried to include my own jQuery.js in my header,  but that doesn't work).  For now, I can make it work if I move the jQuery.js in layout page to the header section.

What's the recommended way to do this?  I don't want to move the jQuery.js location each time when I receive the layout from the group.  Any suggestions?