Helge
Helge

Reputation: 833

$ is not a function although jQuery is loaded

Firebug says "$ is not a function" although jQuery is loaded (twice!) on this site:

http://www.magiskecirkel.no/

Can anybody tell me why? :-)

Thanks!

Upvotes: 2

Views: 421

Answers (3)

Ernest Friedman-Hill
Ernest Friedman-Hill

Reputation: 81684

There's a bit which lets jQuery use the name jQuery instead of $, and perhaps you've got that turned on.

Upvotes: 0

matt
matt

Reputation: 9401

You're using wordpress, which I believe includes the prototype library. Prototype overwrites the '$' function provided by jquery: http://elementdesignllc.com/2009/08/wordpress-jquery-is-not-a-function/

you might want to check out noconflict mode: http://api.jquery.com/jQuery.noConflict/

Upvotes: 3

FRotthowe
FRotthowe

Reputation: 3662

jQuery is set to no conflict mode on that page: $wpbr = jQuery.noConflict();, so it's not bound to the $ function but to $wpbr.

Upvotes: 5

Related Questions