In consideration of the other answers which haven't yet been accepted, I assume that you want to use multiple <div class="mydiv">, with differing href attributes of the <a> element.
If the <a> element will always be the last child of its parent:
$(".mydiv").click(function(){
window.location.href = this.lastChild.href;
});
Remember to remove whitespace and the end of the <div>.
JSFiddle: http://jsfiddle.net/JAJuE/1/
If the <a> element will be somewhere (though not necessarily at the end) in the <div>:
HTML
<div class="mydiv">blah blah blah.
<a href="http://examples.com" class="mylink">Examples link</a>
</div>
JS
$(".mydiv").click(function(){
window.location.href = this.getElementsByClassName("mylink")[0].href;
});
JSFiddle: http://jsfiddle.net/JAJuE/