Magento Forum

   
Magento jquery conflict
 
robsteele
Jr. Member
 
Total Posts:  6
Joined:  2011-04-14
 

Hi Guys/gals
I am struggling on getting this site running jquery.
I have added the conflict script and keep trying, flushed cache but still can\\\’t get my accordian running :(

Its gonna be something i missed.
Site is:
http://www.ridge-workwear.co.uk/jquerytest

 
Magento Community Magento Community
Magento Community
Magento Community
 
prateekgupta
Guru
 
Avatar
Total Posts:  539
Joined:  2010-06-04
India
 

Hey,

You are still using the $ function
here it is giving the error
$.widget is not a function

You must use something like this:-

$j = jQuery.noConflict();

And then replace all the $ function with $j function

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top