Hallo Johannes,

Johannes C. Laxander wrote:

> jQuerry binde ich im head-Bereich gleich als erstes ein.
> In meinen Scripten bekomme ich aber diesen Fehler:
> jquery.min.js:2 jQuery.Deferred exception: $ is not a function TypeError:
> $ is not a function
> 
> ... 
> 
> Mein Script:
> 
> jQuery.noConflict();
> jQuery(document).ready(function() {
>                 $('.dropdown-toggle').dropdown();
> });
> 
> Was passt hier nicht zusammen?

http://api.jquery.com/jQuery.noConflict/

Korrekt wäre z.B.

jQuery.noConflict();
jQuery(function($) {
    $('.dropdown-toggle').dropdown();
});

hth
Gruß,
Gregor
-- 
http://www.a-mazing.de/   |   Certified TYPO3 Integrator

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an