How do I target a jquery click function where identical links exist (ie within a php foreach)?
<p>Similar to what Facebook does on its newsfeed, I want to allow commenting on numerous feed items, which I'm pulling via a php foreach statement.  This is creating identical classes.  So when I click .show_comments it activates everything.</p>

<p>I went through SO and found something akin to what you see below...but it's not working for me.</p>

<p>How do I target individual .show_comments to animate and toggle the selected item?</p>

<pre><code>$j(function() {
    $j(this).find('.show_comments').click(function(){
     $j(this).find('.comments').slideDown("fast");
     $j(this).find(".answer_comments").toggle();
    });

    $j(this).find('.hide_comments').click(function(){
     $j(this).find('.comments').slideUp("fast");
     $j(this).find(".answer_comments").toggle();
    }); 
});
</code></pre>
