Home › Forums › JavaScript › Strange behaviour Jquery › Re: Strange behaviour Jquery
May 19, 2009 at 5:22 am
#57767
apostrophe
Participant
Wordpress uses a couple of other javascript libraries as well as jQuery and they also use the $ sign. So you have a conflict going on.
I always use the google hosted version of jQuery thus:
Code:
But if you want to use the version bundled with WordPress you can use this line:
Code:
And as regards the conflict, change $ to ‘jQuery’ so you would have:
Code: