title: get href attribute of enclosing link tag
body: <p>Having a little trouble on this one. I need a way using Jquery/JS to find the HREF attribute of the enclosing link tag:</p>
  
  <pre><code>&lt;a href="something.html"&gt;&lt;img src="img1.jpg" class="active"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>I want to target the img by class and find the value of the 1st preceding href attribute.</p>
  
  <pre><code>$("img.active").somethingAwesome().attr("href");
  </code></pre>
  
  <p>Please show me somethingAwesome() ...help?</p>