# jQuery Plugin im Template aufrufen ?..

**URL:** <https://forum.shopware.com/t/jquery-plugin-im-template-aufrufen/71613>\
**Category:** Programmierung\
**Created:** [17. Dezember 2020 um 17:02 UTC](https://forum.shopware.com/t/jquery-plugin-im-template-aufrufen/71613 "2020-12-17T17:02:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jackyjoy123](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jackyjoy123](https://forum.shopware.com/u/jackyjoy123)\
**Post date:** [17. Dezember 2020 um 17:02 UTC](https://forum.shopware.com/t/jquery-plugin-im-template-aufrufen/71613/1 "2020-12-17T17:02:53Z")

</div>

Hello,

&nbsp;

ich habe nach der&nbsp;[Anleitung](https://devdocs.shopware.com/developers-guide/shopware-5-plugin-update-guide/#write-own-jquery-plugins)&nbsp;ein weiteres jQuery-Plugin eingebunden.

Laut Anleitung erfolgt der Aufruf über

```
 // Call the plugin $('.test').yourName(); 

```

Bei mir wird zwar das Plugin erfolgreich eingebunden, aber der Aufruf erzeugt lt. der Konsole in Chrome einen Fehler:

```
 Uncaught ReferenceError: $ is not defined (anonymous function) @ ?p=1:507 

```

> **[Credit Card Support - How to Apply | How to Login | Guide](https://creditcardsupportx.com)**
>
> How to Apply | How to Login | Guide

[Target Red Credit Card - Login, Review and Customer Service Information](https://creditcardsupportx.com/target-red-credit-card)  
[Baby R Us Credit Card - Login, Review and Customer Service Information](https://creditcardsupportx.com/baby-r-us-credit-card)

Wie binde ich den Aufruf richtig ein?

&nbsp;

thanks

jackyjoy
