Text Links Trapped, But Not Image Links

Text Links Trapped, But Not Image Links

I have an image wrapped inside a link tag.
  1. <a href="somepage.html"><img id="content" src="img/some.gif" /></a>
I want this .click target to be the link:
  1. $('a').click(function(e){
Instead, the target returned is the image [HTMLImageElement].
I have tried using closest() and currentTarget:
  1. var url = (e.target).closest('a').href;
  2. var url = (e.currentTarget).closest('a').href;
  3. var url = (e.currentTarget).href;
But they all still return the image, not the link. Any suggestions?