[TYPO3-german] jQuery Problem / Frage - $ is not a function [Gelöst]
Johannes C. Laxander
jc at laxander.com
Sun Jan 29 11:45:55 CET 2017
Hi Gregor,
wie ich meine letzte Antwort weggeschickt hatte, ist mir aufgefallen, wo mein Fehler liegt.
Ich hatte immer noch "jQuery(function()" anstatt "jQuery(function($)".
Es funktioniert also so, wie du gepostet hattest. Danke.
Johannes.
> -----Ursprüngliche Nachricht-----
> Von: typo3-german-bounces at lists.typo3.org [mailto:typo3-german-
> bounces at lists.typo3.org] Im Auftrag von Johannes C. Laxander
> Gesendet: Sonntag, 29. Januar 2017 11:37
> An: 'German TYPO3 Userlist' <typo3-german at lists.typo3.org>
> Betreff: Re: [TYPO3-german] jQuery Problem / Frage - $ is not a function
>
> Hallo Gregor,
>
> danke für deine Antwort.
>
> Ich habe jQuery.noConflict(); mal weggelassen, weil ich im Moment nur
> jQuery als Framework nutze.
> Trotzdem bekomme ich den Fehler:
>
> jquery.min.js:2 jQuery.Deferred exception: $ is not a function TypeError: $ is
> not a function
>
> ???
>
> Johannes.
>
> > jQuery.noConflict();
> > jQuery(function($) {
> > $('.dropdown-toggle').dropdown();
> > });
> >
>
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
More information about the TYPO3-german
mailing list