title: jquery selectors to get image path
body: <p>when user clicks on class click_1, I want to get the path of the image shown. Note that click_1 occurs in two contexts.</p>
  
  <pre><code>&lt;a href="#" class='click_1' &gt;&lt;img src="assets/img/shoe05.png" /&gt;&lt;/a&gt;
  &lt;h4&gt;&lt;a href="#" class='click_1' &gt;title link 2&lt;/a&gt;&lt;/h4&gt;&lt;/li&gt;
  
  
      $('.click_1').click(function() {            
          var fullPath = $(this).children("img:first").attr('src');
          if (typeof fullPath === "undefined"){
                          // this one does not work...
              var fullPath = $(this).prev("img").children("img:first").attr('src');
              console.log(fullPath);
          }
      }   
  </code></pre>