Home › Forums › JavaScript › jQuery/WordPress Help › Re: jQuery/WordPress Help
July 3, 2011 at 4:20 pm
#82789
Member
Just so this question doesn’t stay unsolved, the problem was that the click event is called with the clicked element as the parameter but I was overriding $. Removed the $ and it worked:
Copy code
$(‘.fr1’).click(function(){ $(‘frase1’).slideToggle(); });