I make an accordion with a long list of articles.
I have jQuery working when I use the following: only it will move Up / Down every article on the page:
$('article a').click(function() { $('article').find('h3').slideToggle('fast'); });
In theory, this should work, but it does nothing:
$('article a').click(function() { $(this).find('h3').slideToggle('fast'); });
Here you can see the demo: http://jsfiddle.net/CfqGG/
Where am I going wrong?
theorise
source share