javascript - Load jQuery first in 'head' tag -


i have widget i've embedded in squarespace website on multiple pages. uses jquery, it's not working each time loads because haven't loaded jquery first (i think). know paypal loads jquery dependency. i'm trying solve injecting code 'head' tag on each page of site (there's easy way on squarespace). however, i'm unsure how code this. thanks!

code on each page: https://jsfiddle.net/nsilverblatt/y26nfq6v/

jquery code looks relevant (i'm new this):

<script src="https://www.paypalobjects.com/eboxapps/js/5c/e55b8dad5c8ac1fc2d31f92f0dc3e810b7df96.js"></script> <script src="https://www.paypalobjects.com/eboxapps/js/73/476f06e3db7705e4f9a56a016f80df1973fc84.js"></script> <script src="https://www.paypalobjects.com/tagmgmt/bs.js" async="" defer=""></script> <script src="//www.paypalobjects.com/js/site_catalyst/pp_jscode_080706.js"></script> 

the actual website not loading new paypal tab correctly when try donate (unless refresh specific charity page): https://www.dailydonate.org


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -