# Loading jQuery & Scripts

**URL:** <https://forum.mautic.org/t/loading-jquery-scripts/5078>\
**Category:** Development\
**Created:** [August 27, 2016, 3:37pm UTC](https://forum.mautic.org/t/loading-jquery-scripts/5078 "2016-08-27T15:37:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DerekBuntin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/derekbuntin/32/90_2.png) [@DerekBuntin](https://forum.mautic.org/u/DerekBuntin)\
**Post date:** [August 27, 2016, 3:37pm UTC](https://forum.mautic.org/t/loading-jquery-scripts/5078/1 "2016-08-27T15:37:24Z")

</div>

It’s good practice to load sharing buttons on the landing page so that visitors can share the page but I’m having trouble loading both jquery and any other scripts such as addthis, I just cannot get them working without them affecting mtc.js or loading properly.  
  
  
  
I’ve added the scripts in the template before the tag but they don’t load.  
  
  
  
Is jQuery already loaded, if so, how do I access the object in the DOM?  
  
  
  
How can we integrate scripts without these errors occurring?  
  
  
  
Cheers  
  
Derek

---

<div class="post-metadata">

**Author:** ![DerekBuntin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/derekbuntin/32/90_2.png) [@DerekBuntin](https://forum.mautic.org/u/DerekBuntin)\
**Post date:** [August 27, 2016, 3:37pm UTC](https://forum.mautic.org/t/loading-jquery-scripts/5078/2 "2016-08-27T15:37:24Z")

</div>

It’s good practice to load sharing buttons on the landing page so that visitors can share the page but I’m having trouble loading both jquery and any other scripts such as addthis, I just cannot get them working without them affecting mtc.js or loading properly.

I’ve added the scripts in the template before the tag but they don’t load.

Is jQuery already loaded, if so, how do I access the object in the DOM?

How can we integrate scripts without these errors occurring?

Cheers  
Derek
