22.214.171.124 - JS load order with assets
I cannot set the the position of jquery-ui.js to "F" so it loads in the footer. Jquery UI tooltip has a problem with bootstraps tooltip and I need also to load jquery-ui.js before bootstrap and if I place it in the footer it of course has the wrong order again and starts underneath bootstrap.
Are you requiring jQuery in your theme page_theme.php? If so, jQuery will load in the page <head>.
If this is for a block, you can require jQuery UI in your controller view() method.
- jquery-ui.css will load in the page head
<link href="/concrete5/concrete/css/jquery-ui.css" rel="stylesheet" type="text/css" media="all">
- jquery-ui.js will load at the end of the body
I managed to get it working with loading it in a quirky way, but might try out your suggestion.
Anyways, thanks once more to taking yourself the time to help. It's much appreciated, especially as we all can see how much you help everyone out.