title: jquery select class inside parent div
body: <p>I'm trying to change the alt of the image, I'm clicking by 
  selecting the image's class (<strong><em><code>add_answer</code></em></strong>)</p>
  
  <p><strong>Note:</strong> <strong><em><code>.add_answer</code></strong> shows up multiple times inside different containing <code>div</code>'s</em></p>
  
  <pre><code>jQuery(function(){   // Add Answer
  
      jQuery(".add_answer").click(function(){
          var count = $(this).attr("alt");
          count++;
          $('.a_type_'+count+'').show();
          $(this).parents("div:first").$('.add_answer').attr("alt", count);
      }); 
  
  });
  </code></pre>
  
  <p>This line doesn't seem to be working, how do I select this <strong><code>add_answer</code></strong> class by way of it's parent <code>div</code></p>
  
  <pre><code>$(this).parents("div:first").$('.add_answer').attr("alt", count);
  </code></pre>
  
  <p>Anyone else have an idea?</p>
  
  <p>I'm trying having trouble decreasing the <code>alt</code> value on the <code>.add_answer</code> image when <code>.destroy_answer</code> is clicked</p>
  
  <pre><code>jQuery(function(){   // Hide Answer
  
      jQuery(".destroy_answer").click(function(){
          $(this).parents("div:first").hide();
          var count = $('.add_answer').attr("alt");
          count--;
          $('.add_answer',$(this).parent('div:first')).attr('alt',count);
  
  
      }); 
  
  });
  </code></pre>
  
  <p>Problem line:</p>
  
  <pre><code>$('.add_answer',$(this).parent('div:first')).attr('alt',count);
  </code></pre>